home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1991-10-26 | 30.6 KB | [WORD/MACA] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: VectorKit (MacWrite)
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Macintosh Word Document (document/wordMac)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Sat Oct 26 16:09:48 1991, modified Sat Oct 26 16:09:56 1991, creator MacWrite, type MacWrite word processor, 30260 bytes "VectorKit (MacWrite)" TTComp archive data, binary, 4K dictionary, at 0x76b4 866 bytes resource TTComp archive data, binary, 4K dictionary
| default (weak)
| |
99%
| file
| data
| default
| |
66%
| TrID
| raw Group 3 FAX bitmap
| default (weak)
| |
33%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [WORD] |
macFileCreator | [MACA] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 56 65 63 74 6f 72 | 4b 69 74 20 28 4d 61 63 |..Vector|Kit (Mac|
|00000010| 57 72 69 74 65 29 00 00 | 00 00 00 00 00 00 00 00 |Write)..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 57 4f 52 44 4d 41 43 | 41 01 00 00 00 00 00 00 |.WORDMAC|A.......|
|00000050| 00 00 00 00 00 76 34 00 | 00 03 62 a5 2f 7c 0c a5 |.....v4.|..b./|..|
|00000060| 2f 7c 14 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |/|......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 6f 71 00 00 |........|....oq..|
|00000080| 00 06 01 13 00 02 00 02 | 00 00 00 ff ff ff 00 00 |........|........|
|00000090| 00 01 00 00 76 2c 00 08 | 00 08 1c 4e e0 d0 ff c4 |....v,..|...N....|
|000000a0| ff 47 00 15 7c 14 00 26 | 00 03 00 00 00 48 00 48 |.G..|..&|.....H.H|
|000000b0| 00 00 00 00 03 0d 02 1a | ff e2 ff e4 03 2b 02 36 |........|.....+.6|
|000000c0| 03 43 05 7b 03 de 00 02 | 00 00 00 48 00 48 00 00 |.C.{....|...H.H..|
|000000d0| 00 00 03 0d 02 1a 00 01 | 00 00 00 64 00 00 00 01 |........|...d....|
|000000e0| 00 01 01 01 00 02 00 01 | 27 0f 00 01 00 01 00 00 |........|'.......|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 0a 00 19 01 90 |........|........|
|00000100| 00 00 00 00 00 40 00 00 | 00 00 00 00 00 00 00 01 |.....@..|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 01 00 00 00 01 00 00 | 00 00 00 01 00 00 01 e6 |........|........|
|00000130| 00 20 00 00 02 06 00 0a | ff f2 00 1e ff f2 00 ec |. ......|........|
|00000140| ff f2 01 ba ff ff ff ff | ff 00 0c 00 00 01 00 01 |........|........|
|00000150| 00 00 00 01 00 00 00 00 | 00 01 00 00 01 5c 00 20 |........|.....\. |
|00000160| 00 00 01 7c 00 0a ff f2 | 00 1e ff f2 00 ec ff f2 |...|....|........|
|00000170| 01 ba ff ff ff ff ff 00 | 0c 00 00 01 00 01 00 00 |........|........|
|00000180| 00 01 00 00 00 00 00 01 | 00 00 60 b8 11 30 00 00 |........|..`..0..|
|00000190| 71 e8 04 44 ff f2 00 1e | ff f2 00 ec ff f2 01 ba |q..D....|........|
|000001a0| ff ff ff ff ff 00 0c 00 | 00 01 13 17 1c 1a 15 10 |........|........|
|000001b0| 00 0a 01 cb 00 00 00 00 | 00 0a 00 00 00 00 03 11 |........|........|
|000001c0| 03 e9 00 08 00 11 4c 7a | 00 26 da a6 00 00 20 04 |......Lz|.&.... .|
|000001d0| 00 05 00 00 00 06 00 00 | 0a 00 00 10 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 20 00 01 30 | 00 22 00 00 00 10 00 00 |.... ..0|."......|
|000001f0| 00 00 00 00 61 00 01 52 | 00 0a 00 00 00 00 00 01 |....a..R|........|
|00000200| 10 10 00 00 00 00 00 0a | 01 cb 00 03 00 00 00 0a |........|........|
|00000210| 00 1c 00 ef 01 b9 03 e9 | 00 08 00 11 4c 7a 00 26 |........|....Lz.&|
|00000220| da a6 00 00 20 04 00 05 | 00 33 50 72 6f 6a 65 63 |.... ...|.3Projec|
|00000230| 74 20 53 54 4f 52 4d 09 | 50 61 67 65 20 23 20 6f |t STORM.|Page # o|
|00000240| 66 20 38 09 56 65 63 74 | 6f 72 20 41 6e 69 6d 61 |f 8.Vect|or Anima|
|00000250| 74 69 6f 6e 20 54 6f 6f | 6c 6b 69 74 0d 00 00 06 |tion Too|lkit....|
|00000260| 00 00 0a 00 00 10 00 00 | 00 00 00 00 00 00 20 00 |........|...... .|
|00000270| 01 86 00 22 00 00 00 10 | 00 00 00 00 00 00 63 00 |..."....|......c.|
|00000280| 01 a8 00 3e 00 00 00 00 | 00 01 10 10 00 00 00 00 |...>....|........|
|00000290| 00 0a 01 cb 00 06 00 00 | 00 0a 00 52 00 9a 00 e2 |........|...R....|
|000002a0| 01 2a 01 72 01 b9 4c 7a | 00 26 da a6 00 00 20 04 |.*.r..Lz|.&.... .|
|000002b0| 00 05 00 01 0d 00 00 06 | 00 00 0c 01 00 10 00 01 |........|........|
|000002c0| 0d 00 00 06 00 00 0c 01 | 00 10 00 01 0d 00 00 06 |........|........|
|000002d0| 00 00 0c 01 00 10 00 01 | 0d 00 00 06 00 00 0c 01 |........|........|
|000002e0| 00 10 00 01 0d 00 00 06 | 00 00 0c 01 00 10 00 01 |........|........|
|000002f0| 0d 00 00 06 00 00 0c 01 | 00 10 00 01 0d 00 00 06 |........|........|
|00000300| 00 00 0c 01 00 10 00 01 | 0d 00 00 06 00 00 0c 01 |........|........|
|00000310| 00 10 00 01 0d 00 00 06 | 00 00 0c 01 00 10 00 01 |........|........|
|00000320| 0d 00 00 06 00 00 0c 01 | 00 10 00 01 0d 00 00 06 |........|........|
|00000330| 00 00 0c 01 00 10 00 22 | 00 00 00 27 01 b0 00 6d |......."|...'...m|
|00000340| 00 22 00 00 00 27 01 b0 | 11 01 a1 00 64 00 0a 46 |."...'..|....d..F|
|00000350| 57 52 54 00 0b 00 48 01 | b0 a1 00 64 00 38 46 57 |WRT...H.|...d.8FW|
|00000360| 52 54 00 01 02 78 00 00 | 00 01 00 00 00 00 00 00 |RT...x..|........|
|00000370| 00 00 ff ff ff ff ff ff | ff ff 00 02 00 08 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 24 |........|.......$|
|00000390| 00 00 00 24 01 b0 01 00 | 0a 00 22 00 00 00 27 01 |...$....|.."...'.|
|000003a0| b0 20 00 24 00 00 00 24 | 01 b0 ff 9d 00 0d 49 6e |. .$...$|......In|
|000003b0| 74 72 6f 64 75 63 74 69 | 6f 6e 0d 00 00 06 00 00 |troducti|on......|
|000003c0| 0e 01 00 10 00 22 00 00 | 00 27 01 b0 00 6d 00 22 |....."..|.'...m."|
|000003d0| 00 00 00 27 01 b0 11 01 | a1 00 64 00 0a 46 57 52 |...'....|..d..FWR|
|000003e0| 54 00 0b 00 48 01 b0 a1 | 00 64 00 38 46 57 52 54 |T...H...|.d.8FWRT|
|000003f0| 00 01 02 78 00 00 00 01 | 00 00 00 00 00 00 00 00 |...x....|........|
|00000400| ff ff ff ff ff ff ff ff | 00 02 00 08 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 24 00 00 |........|.....$..|
|00000420| 00 24 01 b0 01 00 0a 00 | 22 00 00 00 27 01 b0 20 |.$......|"...'.. |
|00000430| 00 24 00 00 00 24 01 b0 | ff 00 00 01 0d 00 00 06 |.$...$..|........|
|00000440| 00 00 0e 01 00 10 00 01 | 0d 00 00 06 00 00 0c 00 |........|........|
|00000450| 00 10 01 a8 54 68 65 20 | 76 65 63 74 6f 72 20 61 |....The |vector a|
|00000460| 6e 69 6d 61 74 69 6f 6e | 20 74 6f 6f 6c 6b 69 74 |nimation| toolkit|
|00000470| 20 72 65 71 75 69 72 65 | 73 20 61 6e 20 38 2d 62 | require|s an 8-b|
|00000480| 69 74 20 64 69 73 70 6c | 61 79 20 61 6e 64 20 61 |it displ|ay and a|
|00000490| 74 20 6c 65 61 73 74 20 | 61 20 36 38 30 32 30 20 |t least |a 68020 |
|000004a0| 70 72 6f 63 65 73 73 6f | 72 2e 20 41 6e 69 6d 61 |processo|r. Anima|
|000004b0| 74 65 64 20 64 6f 75 62 | 6c 65 2d 62 75 66 66 65 |ted doub|le-buffe|
|000004c0| 72 65 64 20 64 72 61 77 | 69 6e 67 20 63 61 6e 20 |red draw|ing can |
|000004d0| 62 65 20 64 6f 6e 65 20 | 75 73 69 6e 67 20 64 69 |be done |using di|
|000004e0| 73 70 6c 61 79 20 6c 69 | 73 74 73 20 66 6f 72 20 |splay li|sts for |
|000004f0| 64 69 66 66 65 72 65 6e | 74 20 74 79 70 65 73 20 |differen|t types |
|00000500| 6f 66 20 6f 62 6a 65 63 | 74 73 2e 20 4c 69 6e 65 |of objec|ts. Line|
|00000510| 73 2c 20 73 69 6d 70 6c | 65 20 70 6f 69 6e 74 73 |s, simpl|e points|
|00000520| 20 61 6e 64 20 6c 61 72 | 67 65 20 70 6f 69 6e 74 | and lar|ge point|
|00000530| 73 20 63 6f 6d 70 72 69 | 73 65 20 74 68 65 20 73 |s compri|se the s|
|00000540| 65 74 20 6f 66 20 62 61 | 73 69 63 20 61 6e 69 6d |et of ba|sic anim|
|00000550| 61 74 69 6f 6e 20 6f 70 | 65 72 61 74 6f 72 73 2e |ation op|erators.|
|00000560| 20 54 68 65 20 6b 69 74 | 20 61 6c 73 6f 20 61 6c | The kit| also al|
|00000570| 6c 6f 77 73 20 6d 6f 72 | 65 20 63 6f 6d 70 6c 69 |lows mor|e compli|
|00000580| 63 61 74 65 64 20 6f 62 | 6a 65 63 74 73 20 73 75 |cated ob|jects su|
|00000590| 63 68 20 61 73 20 65 78 | 70 6c 6f 73 69 6f 6e 73 |ch as ex|plosions|
|000005a0| 2e 20 41 20 73 65 70 61 | 72 61 74 65 20 73 75 62 |. A sepa|rate sub|
|000005b0| 72 6f 75 74 69 6e 65 20 | 61 6c 6c 6f 77 73 20 66 |routine |allows f|
|000005c0| 61 73 74 20 64 72 61 77 | 69 6e 67 20 6f 66 20 37 |ast draw|ing of 7|
|000005d0| 2d 73 65 67 6d 65 6e 74 | 65 64 20 64 69 73 70 6c |-segment|ed displ|
|000005e0| 61 79 73 20 66 6f 72 20 | 64 69 73 70 6c 61 79 69 |ays for |displayi|
|000005f0| 6e 67 20 6e 75 6d 62 65 | 72 73 2e 0d 00 06 00 00 |ng numbe|rs......|
|00000600| 0c 00 00 10 00 01 0d 00 | 00 06 00 00 0c 00 00 10 |........|........|
|00000610| 01 57 54 68 65 20 38 2d | 62 69 74 20 64 69 73 70 |.WThe 8-|bit disp|
|00000620| 6c 61 79 20 69 73 20 64 | 69 76 69 64 65 64 20 69 |lay is d|ivided i|
|00000630| 6e 74 6f 20 73 65 76 65 | 72 61 6c 20 62 69 74 70 |nto seve|ral bitp|
|00000640| 6c 61 6e 65 73 2e 20 54 | 68 65 72 65 20 61 72 65 |lanes. T|here are|
|00000650| 20 73 74 61 74 69 63 20 | 61 6e 64 20 61 6e 69 6d | static |and anim|
|00000660| 61 74 69 6e 67 20 62 69 | 74 70 6c 61 6e 65 73 2e |ating bi|tplanes.|
|00000670| 20 42 6f 74 68 20 74 79 | 70 65 73 20 68 61 76 65 | Both ty|pes have|
|00000680| 20 74 68 65 69 72 20 61 | 64 76 61 6e 74 61 67 65 | their a|dvantage|
|00000690| 73 20 61 6e 64 20 62 6f | 74 68 20 61 72 65 20 75 |s and bo|th are u|
|000006a0| 73 65 64 20 69 6e 20 20 | 50 72 6f 6a 65 63 74 20 |sed in |Project |
|000006b0| 53 54 4f 52 4d 2e 20 50 | 72 6f 6a 65 63 74 20 53 |STORM. P|roject S|
|000006c0| 54 4f 52 4d 20 75 73 65 | 73 20 74 77 6f 20 73 69 |TORM use|s two si|
|000006d0| 6e 67 6c 65 2d 62 69 74 | 20 73 74 61 74 69 63 20 |ngle-bit| static |
|000006e0| 62 69 74 70 6c 61 6e 65 | 73 20 61 6e 64 20 74 77 |bitplane|s and tw|
|000006f0| 6f 20 33 2d 62 69 74 20 | 61 6e 69 6d 61 74 69 6e |o 3-bit |animatin|
|00000700| 67 20 62 69 74 70 6c 61 | 6e 65 73 2e 20 54 68 65 |g bitpla|nes. The|
|00000710| 20 63 75 72 72 65 6e 74 | 20 69 6d 70 6c 65 6d 65 | current| impleme|
|00000720| 6e 74 61 74 69 6f 6e 20 | 61 6c 6c 6f 77 73 20 6f |ntation |allows o|
|00000730| 6e 6c 79 20 6f 6e 65 20 | 70 61 69 72 20 6f 66 20 |nly one |pair of |
|00000740| 61 6e 69 6d 61 74 65 64 | 20 62 69 74 70 6c 61 6e |animated| bitplan|
|00000750| 65 73 20 66 6f 72 20 64 | 6f 75 62 6c 65 20 62 75 |es for d|ouble bu|
|00000760| 66 66 65 72 69 6e 67 2e | 0d 00 00 06 00 00 0c 00 |ffering.|........|
|00000770| 00 10 00 01 0d 00 00 06 | 00 00 0c 00 00 10 00 93 |........|........|
|00000780| 54 6f 20 67 69 76 65 20 | 79 6f 75 20 61 20 62 65 |To give |you a be|
|00000790| 74 74 65 72 20 66 65 65 | 6c 20 6f 66 20 77 68 61 |tter fee|l of wha|
|000007a0| 74 20 63 61 6e 20 62 65 | 20 64 6f 6e 65 20 77 69 |t can be| done wi|
|000007b0| 74 68 20 74 68 65 20 76 | 65 63 74 6f 72 20 61 6e |th the v|ector an|
|000007c0| 69 6d 61 74 69 6f 6e 20 | 74 6f 6f 6c 6b 69 74 2c |imation |toolkit,|
|000007d0| 20 68 65 72 65 d5 73 20 | 61 20 73 68 6f 72 74 20 | here.s |a short |
|000007e0| 70 72 6f 67 72 61 6d 20 | 74 68 61 74 20 75 73 65 |program |that use|
|000007f0| 73 20 74 68 65 20 6d 6f | 73 74 20 62 61 73 69 63 |s the mo|st basic|
|00000800| 20 70 61 72 74 73 20 6f | 66 20 74 68 65 20 6b 69 | parts o|f the ki|
|00000810| 74 3a 0d 00 00 06 00 00 | 0c 00 00 10 00 01 0d 00 |t:......|........|
|00000820| 00 06 00 00 0c 00 00 10 | 00 10 23 69 6e 63 6c 75 |........|..#inclu|
|00000830| 64 65 20 22 56 41 2e 68 | 22 0d 00 06 00 00 09 01 |de "VA.h|".......|
|00000840| 00 16 00 0c 23 64 65 66 | 69 6e 65 09 4e 09 33 0d |....#def|ine.N.3.|
|00000850| 00 06 00 00 09 00 00 16 | 00 01 0d 00 00 06 00 00 |........|........|
|00000860| 09 00 00 16 00 0c 76 6f | 69 64 09 6d 61 69 6e 28 |......vo|id.main(|
|00000870| 29 0d 00 06 00 00 09 00 | 00 16 00 02 7b 0d 00 06 |).......|....{...|
|00000880| 00 00 09 00 00 16 00 0b | 09 69 6e 74 09 09 09 09 |........|.int....|
|00000890| 69 3b 0d 00 00 06 00 00 | 09 00 00 16 00 14 09 50 |i;......|.......P|
|000008a0| 6f 69 6e 74 09 09 09 76 | 65 63 74 6f 72 5b 4e 5d |oint...v|ector[N]|
|000008b0| 3b 0d 00 06 00 00 09 00 | 00 16 00 13 09 50 6f 69 |;.......|.....Poi|
|000008c0| 6e 74 09 09 09 73 70 65 | 65 64 5b 4e 5d 3b 0d 00 |nt...spe|ed[N];..|
|000008d0| 00 06 00 00 09 00 00 16 | 00 01 0d 00 00 06 00 00 |........|........|
|000008e0| 09 00 00 16 00 0c 09 44 | 6f 49 6e 69 74 73 28 29 |.......D|oInits()|
|000008f0| 3b 0d 00 06 00 00 09 00 | 00 16 00 1a 09 47 65 74 |;.......|.....Get|
|00000900| 4e 65 77 57 69 6e 64 6f | 77 28 31 30 30 30 2c 30 |NewWindo|w(1000,0|
|00000910| 2c 2d 31 29 3b 0d 00 06 | 00 00 09 00 00 16 00 17 |,-1);...|........|
|00000920| 09 72 61 6e 64 53 65 65 | 64 3d 54 69 63 6b 43 6f |.randSee|d=TickCo|
|00000930| 75 6e 74 28 29 3b 0d 00 | 00 06 00 00 09 00 00 16 |unt();..|........|
|00000940| 00 02 09 0d 00 06 00 00 | 09 00 00 16 00 1a 09 56 |........|.......V|
|00000950| 41 49 6e 69 74 28 47 65 | 74 4d 61 69 6e 44 65 76 |AInit(Ge|tMainDev|
|00000960| 69 63 65 28 29 29 3b 0d | 00 12 00 00 09 00 00 16 |ice());.|........|
|00000970| 00 01 09 01 00 16 00 07 | 09 00 00 16 00 01 0d 00 |........|........|
|00000980| 00 06 00 00 09 00 00 16 | 00 12 09 66 6f 72 28 69 |........|...for(i|
|00000990| 3d 30 3b 69 3c 4e 3b 69 | 2b 2b 29 0d 00 06 00 00 |=0;i<N;i|++).....|
|000009a0| 09 00 00 16 00 3a 09 7b | 09 76 65 63 74 6f 72 5b |.....:.{|.vector[|
|000009b0| 69 5d 2e 68 3d 28 28 75 | 6e 73 69 67 6e 65 64 20 |i].h=((u|nsigned |
|000009c0| 69 6e 74 29 52 61 6e 64 | 6f 6d 28 29 29 20 25 20 |int)Rand|om()) % |
|000009d0| 56 41 2e 66 72 61 6d 65 | 2e 72 69 67 68 74 3b 0d |VA.frame|.right;.|
|000009e0| 00 12 00 00 09 00 00 16 | 00 2a 09 01 00 16 00 38 |........|.*.....8|
|000009f0| 09 00 00 16 00 3a 09 09 | 76 65 63 74 6f 72 5b 69 |.....:..|vector[i|
|00000a00| 5d 2e 76 3d 28 28 75 6e | 73 69 67 6e 65 64 20 69 |].v=((un|signed i|
|00000a10| 6e 74 29 52 61 6e 64 6f | 6d 28 29 29 20 25 20 56 |nt)Rando|m()) % V|
|00000a20| 41 2e 66 72 61 6d 65 2e | 62 6f 74 74 6f 6d 3b 0d |A.frame.|bottom;.|
|00000a30| 00 12 00 00 09 00 00 16 | 00 29 09 01 00 16 00 38 |........|.).....8|
|00000a40| 09 00 00 16 00 10 09 09 | 73 70 65 65 64 5b 69 5d |........|speed[i]|
|00000a50| 2e 68 3d 31 3b 0d 00 06 | 00 00 09 00 00 16 00 10 |.h=1;...|........|
|00000a60| 09 09 73 70 65 65 64 5b | 69 5d 2e 76 3d 31 3b 0d |..speed[|i].v=1;.|
|00000a70| 00 06 00 00 09 00 00 16 | 00 03 09 7d 0d 00 00 06 |........|...}....|
|00000a80| 00 00 09 00 00 16 00 01 | 0d 00 00 06 00 00 09 00 |........|........|
|00000a90| 00 16 00 04 09 64 6f 0d | 00 06 00 00 09 00 00 16 |.....do.|........|
|00000aa0| 00 15 09 7b 09 56 41 2e | 63 6f 6c 6f 72 3d 32 35 |...{.VA.|color=25|
|00000ab0| 35 2d 31 32 38 3b 0d 00 | 00 12 00 00 09 00 00 16 |5-128;..|........|
|00000ac0| 00 03 09 01 00 16 00 0b | 09 00 00 16 00 13 09 09 |........|........|
|00000ad0| 56 41 2e 73 65 67 6d 73 | 63 61 6c 65 3d 32 30 3b |VA.segms|cale=20;|
|00000ae0| 0d 00 00 12 00 00 09 00 | 00 16 00 02 09 01 00 16 |........|........|
|00000af0| 00 0e 09 00 00 16 00 3d | 09 09 56 41 44 72 61 77 |.......=|..VADraw|
|00000b00| 4e 75 6d 62 65 72 28 54 | 69 63 6b 43 6f 75 6e 74 |Number(T|ickCount|
|00000b10| 28 29 2c 32 30 30 2c 56 | 41 2e 73 65 67 6d 73 63 |(),200,V|A.segmsc|
|00000b20| 61 6c 65 2b 56 41 2e 73 | 65 67 6d 73 63 61 6c 65 |ale+VA.s|egmscale|
|00000b30| 2b 35 29 3b 0d 00 00 2a | 00 00 09 00 00 16 00 02 |+5);...*|........|
|00000b40| 09 01 00 16 00 0e 09 00 | 00 16 00 1f 09 01 00 16 |........|........|
|00000b50| 00 2b 09 00 00 16 00 2c | 09 01 00 16 00 38 09 00 |.+.....,|.....8..|
|00000b60| 00 16 00 02 09 0d 00 06 | 00 00 09 00 00 16 00 0e |........|........|
|00000b70| 09 09 56 41 2e 63 6f 6c | 6f 72 3d 33 3b 0d 00 12 |..VA.col|or=3;...|
|00000b80| 00 00 09 00 00 16 00 02 | 09 01 00 16 00 0a 09 00 |........|........|
|00000b90| 00 16 00 03 09 09 0d 00 | 00 06 00 00 09 00 00 16 |........|........|
|00000ba0| 00 13 09 09 66 6f 72 28 | 69 3d 30 3b 69 3c 4e 3b |....for(|i=0;i<N;|
|00000bb0| 69 2b 2b 29 0d 00 00 06 | 00 00 09 00 00 16 00 1d |i++)....|........|
|00000bc0| 09 09 7b 09 76 65 63 74 | 6f 72 5b 69 5d 2e 68 2b |..{.vect|or[i].h+|
|00000bd0| 3d 73 70 65 65 64 5b 69 | 5d 2e 68 3b 0d 00 00 06 |=speed[i|].h;....|
|00000be0| 00 00 09 00 00 16 00 40 | 09 09 09 69 66 28 76 65 |.......@|...if(ve|
|00000bf0| 63 74 6f 72 5b 69 5d 2e | 68 3c 56 41 2e 66 72 61 |ctor[i].|h<VA.fra|
|00000c00| 6d 65 2e 6c 65 66 74 20 | 7c 7c 20 76 65 63 74 6f |me.left ||| vecto|
|00000c10| 72 5b 69 5d 2e 68 3e 3d | 56 41 2e 66 72 61 6d 65 |r[i].h>=|VA.frame|
|00000c20| 2e 72 69 67 68 74 29 0d | 00 1e 00 00 09 00 00 16 |.right).|........|
|00000c30| 00 12 09 01 00 16 00 1f | 09 00 00 16 00 30 09 01 |........|.....0..|
|00000c40| 00 16 00 3e 09 00 00 16 | 00 1e 09 09 09 7b 09 76 |...>....|.....{.v|
|00000c50| 65 63 74 6f 72 5b 69 5d | 2e 68 2d 3d 73 70 65 65 |ector[i]|.h-=spee|
|00000c60| 64 5b 69 5d 2e 68 3b 0d | 00 06 00 00 09 00 00 16 |d[i].h;.|........|
|00000c70| 00 1c 09 09 09 09 73 70 | 65 65 64 5b 69 5d 2e 68 |......sp|eed[i].h|
|00000c80| 3d 2d 73 70 65 65 64 5b | 69 5d 2e 68 3b 0d 00 06 |=-speed[|i].h;...|
|00000c90| 00 00 09 00 00 16 00 2e | 09 09 09 09 56 41 45 78 |........|....VAEx|
|00000ca0| 70 6c 6f 73 69 6f 6e 28 | 76 65 63 74 6f 72 5b 69 |plosion(|vector[i|
|00000cb0| 5d 2e 68 2c 76 65 63 74 | 6f 72 5b 69 5d 2e 76 2c |].h,vect|or[i].v,|
|00000cc0| 33 2c 32 29 3b 0d 00 12 | 00 00 09 00 00 16 00 04 |3,2);...|........|
|00000cd0| 09 01 00 16 00 0f 09 00 | 00 16 00 05 09 09 09 7d |........|.......}|
|00000ce0| 0d 00 00 06 00 00 09 00 | 00 16 00 1c 09 09 09 76 |........|.......v|
|00000cf0| 65 63 74 6f 72 5b 69 5d | 2e 76 2b 3d 73 70 65 65 |ector[i]|.v+=spee|
|00000d00| 64 5b 69 5d 2e 76 3b 0d | 00 06 00 00 09 00 00 16 |d[i].v;.|........|
|00000d10| 00 40 09 09 09 69 66 28 | 76 65 63 74 6f 72 5b 69 |.@...if(|vector[i|
|00000d20| 5d 2e 76 3c 56 41 2e 66 | 72 61 6d 65 2e 74 6f 70 |].v<VA.f|rame.top|
|00000d30| 20 7c 7c 20 76 65 63 74 | 6f 72 5b 69 5d 2e 76 3e | || vect|or[i].v>|
|00000d40| 3d 56 41 2e 66 72 61 6d | 65 2e 62 6f 74 74 6f 6d |=VA.fram|e.bottom|
|00000d50| 29 0d 00 1e 00 00 09 00 | 00 16 00 12 09 01 00 16 |).......|........|
|00000d60| 00 1e 09 00 00 16 00 2f | 09 01 00 16 00 3e 09 00 |......./|.....>..|
|00000d70| 00 16 00 1e 09 09 09 7b | 09 76 65 63 74 6f 72 5b |.......{|.vector[|
|00000d80| 69 5d 2e 76 2d 3d 73 70 | 65 65 64 5b 69 5d 2e 76 |i].v-=sp|eed[i].v|
|00000d90| 3b 0d 00 06 00 00 09 00 | 00 16 00 1c 09 09 09 09 |;.......|........|
|00000da0| 73 70 65 65 64 5b 69 5d | 2e 76 3d 2d 73 70 65 65 |speed[i]|.v=-spee|
|00000db0| 64 5b 69 5d 2e 76 3b 0d | 00 06 00 00 09 00 00 16 |d[i].v;.|........|
|00000dc0| 00 2e 09 09 09 09 56 41 | 45 78 70 6c 6f 73 69 6f |......VA|Explosio|
|00000dd0| 6e 28 76 65 63 74 6f 72 | 5b 69 5d 2e 68 2c 76 65 |n(vector|[i].h,ve|
|00000de0| 63 74 6f 72 5b 69 5d 2e | 76 2c 33 2c 32 29 3b 0d |ctor[i].|v,3,2);.|
|00000df0| 00 12 00 00 09 00 00 16 | 00 04 09 01 00 16 00 0f |........|........|
|00000e00| 09 00 00 16 00 05 09 09 | 09 7d 0d 00 00 06 00 00 |........|.}......|
|00000e10| 09 00 00 16 00 1b 09 09 | 09 69 66 28 28 52 61 6e |........|.if((Ran|
|00000e20| 64 6f 6d 28 29 20 26 20 | 32 35 35 29 3d 3d 30 29 |dom() & |255)==0)|
|00000e30| 0d 00 00 06 00 00 09 00 | 00 16 00 2f 09 09 09 7b |........|.../...{|
|00000e40| 09 56 41 45 78 70 6c 6f | 73 69 6f 6e 28 76 65 63 |.VAExplo|sion(vec|
|00000e50| 74 6f 72 5b 69 5d 2e 68 | 2c 76 65 63 74 6f 72 5b |tor[i].h|,vector[|
|00000e60| 69 5d 2e 76 2c 32 2c 33 | 29 3b 0d 00 00 12 00 00 |i].v,2,3|);......|
|00000e70| 09 00 00 16 00 05 09 01 | 00 16 00 10 09 00 00 16 |........|........|
|00000e80| 00 1c 09 09 09 09 73 70 | 65 65 64 5b 69 5d 2e 68 |......sp|eed[i].h|
|00000e90| 2b 3d 73 70 65 65 64 5b | 30 5d 2e 68 3b 0d 00 06 |+=speed[|0].h;...|
|00000ea0| 00 00 09 00 00 16 00 1c | 09 09 09 09 73 70 65 65 |........|....spee|
|00000eb0| 64 5b 69 5d 2e 76 2b 3d | 73 70 65 65 64 5b 30 5d |d[i].v+=|speed[0]|
|00000ec0| 2e 76 3b 0d 00 06 00 00 | 09 00 00 16 00 05 09 09 |.v;.....|........|
|00000ed0| 09 7d 0d 00 00 06 00 00 | 09 00 00 16 00 04 09 09 |.}......|........|
|00000ee0| 09 0d 00 06 00 00 09 00 | 00 16 00 2a 09 09 09 56 |........|...*...V|
|00000ef0| 41 53 61 66 65 53 70 6f | 74 28 76 65 63 74 6f 72 |ASafeSpo|t(vector|
|00000f00| 5b 69 5d 2e 68 2c 76 65 | 63 74 6f 72 5b 69 5d 2e |[i].h,ve|ctor[i].|
|00000f10| 76 2d 31 29 3b 0d 00 12 | 00 00 09 00 00 16 00 03 |v-1);...|........|
|00000f20| 09 01 00 16 00 0d 09 00 | 00 16 00 04 09 09 7d 0d |........|......}.|
|00000f30| 00 06 00 00 09 00 00 16 | 00 0e 09 09 56 41 2e 63 |........|....VA.c|
|00000f40| 6f 6c 6f 72 3d 30 3b 0d | 00 12 00 00 09 00 00 16 |olor=0;.|........|
|00000f50| 00 02 09 01 00 16 00 0a | 09 00 00 16 00 29 09 09 |........|.....)..|
|00000f60| 56 41 4d 6f 76 65 54 6f | 28 76 65 63 74 6f 72 5b |VAMoveTo|(vector[|
|00000f70| 4e 2d 31 5d 2e 68 2c 76 | 65 63 74 6f 72 5b 4e 2d |N-1].h,v|ector[N-|
|00000f80| 31 5d 2e 76 29 3b 0d 00 | 00 12 00 00 09 00 00 16 |1].v);..|........|
|00000f90| 00 02 09 01 00 16 00 0a | 09 00 00 16 00 13 09 09 |........|........|
|00000fa0| 66 6f 72 28 69 3d 30 3b | 69 3c 4e 3b 69 2b 2b 29 |for(i=0;|i<N;i++)|
|00000fb0| 0d 00 00 06 00 00 09 00 | 00 16 00 27 09 09 7b 09 |........|...'..{.|
|00000fc0| 56 41 4c 69 6e 65 54 6f | 28 76 65 63 74 6f 72 5b |VALineTo|(vector[|
|00000fd0| 69 5d 2e 68 2c 76 65 63 | 74 6f 72 5b 69 5d 2e 76 |i].h,vec|tor[i].v|
|00000fe0| 29 3b 0d 00 00 12 00 00 | 09 00 00 16 00 04 09 01 |);......|........|
|00000ff0| 00 16 00 0c 09 00 00 16 | 00 04 09 09 7d 0d 00 06 |........|....}...|
|00001000| 00 00 09 00 00 16 00 01 | 0d 00 00 06 00 00 09 00 |........|........|
|00001010| 00 16 00 0c 09 09 56 41 | 53 74 65 70 28 29 3b 0d |......VA|Step();.|
|00001020| 00 12 00 00 09 00 00 16 | 00 02 09 01 00 16 00 08 |........|........|
|00001030| 09 00 00 16 00 15 09 7d | 20 77 68 69 6c 65 28 21 |.......}| while(!|
|00001040| 42 75 74 74 6f 6e 28 29 | 29 3b 0d 00 00 06 00 00 |Button()|);......|
|00001050| 09 00 00 16 00 01 0d 00 | 00 06 00 00 09 00 00 16 |........|........|
|00001060| 00 0c 09 56 41 43 6c 6f | 73 65 28 29 3b 0d 00 12 |...VAClo|se();...|
|00001070| 00 00 09 00 00 16 00 01 | 09 01 00 16 00 08 09 00 |........|........|
|00001080| 00 16 00 02 7d 0d 00 0c | 00 00 09 00 00 16 00 01 |....}...|........|
|00001090| 0c 00 00 10 00 01 0d 00 | 00 06 00 00 0c 00 00 10 |........|........|
|000010a0| 01 d8 54 68 65 20 70 72 | 6f 67 72 61 6d 20 64 72 |..The pr|ogram dr|
|000010b0| 61 77 73 20 61 20 70 6f | 6c 79 67 6f 6e 20 6f 66 |aws a po|lygon of|
|000010c0| 20 4e 20 73 69 64 65 73 | 20 61 6e 64 20 62 6f 75 | N sides| and bou|
|000010d0| 6e 63 65 73 20 69 74 20 | 6f 6e 20 74 68 65 20 73 |nces it |on the s|
|000010e0| 63 72 65 65 6e 2e 20 43 | 6f 6c 6c 69 73 69 6f 6e |creen. C|ollision|
|000010f0| 73 20 77 69 74 68 20 74 | 68 65 20 62 6f 72 64 65 |s with t|he borde|
|00001100| 72 73 20 63 72 65 61 74 | 65 20 65 78 70 6c 6f 73 |rs creat|e explos|
|00001110| 69 6f 6e 73 20 61 6e 64 | 20 61 74 20 72 61 6e 64 |ions and| at rand|
|00001120| 6f 6d 20 74 69 6d 65 73 | 20 74 68 65 20 73 70 65 |om times| the spe|
|00001130| 65 64 20 6f 66 20 6d 6f | 76 65 6d 65 6e 74 20 63 |ed of mo|vement c|
|00001140| 68 61 6e 67 65 73 2e 20 | 41 6c 6d 6f 73 74 20 61 |hanges. |Almost a|
|00001150| 6c 6c 20 74 68 65 20 62 | 61 73 69 63 20 65 6c 65 |ll the b|asic ele|
|00001160| 6d 65 6e 74 73 20 6f 66 | 20 74 68 65 20 74 6f 6f |ments of| the too|
|00001170| 6c 6b 69 74 20 61 72 65 | 20 75 73 65 64 2e 20 4c |lkit are| used. L|
|00001180| 69 6e 65 20 73 65 67 6d | 65 6e 74 73 20 61 72 65 |ine segm|ents are|
|00001190| 20 75 73 65 64 20 74 6f | 20 64 72 61 77 20 74 68 | used to| draw th|
|000011a0| 65 20 70 6f 6c 79 67 6f | 6e 20 73 69 64 65 73 3b |e polygo|n sides;|
|000011b0| 20 73 70 6f 74 73 20 28 | 6c 61 72 67 65 20 70 6f | spots (|large po|
|000011c0| 69 6e 74 73 29 20 61 72 | 65 20 75 73 65 64 20 74 |ints) ar|e used t|
|000011d0| 6f 20 70 6f 69 6e 74 20 | 74 68 65 20 63 6f 72 6e |o point |the corn|
|000011e0| 65 72 73 20 6f 66 20 74 | 68 65 20 70 6f 6c 79 67 |ers of t|he polyg|
|000011f0| 6f 6e 3b 20 61 20 37 2d | 73 65 67 6d 65 6e 64 20 |on; a 7-|segmend |
|00001200| 64 69 73 70 6c 61 79 20 | 73 68 6f 77 73 20 74 68 |display |shows th|
|00001210| 65 20 67 6c 6f 62 61 6c | 20 54 69 63 6b 43 6f 75 |e global| TickCou|
|00001220| 6e 74 20 6f 66 20 74 68 | 65 20 73 79 73 74 65 6d |nt of th|e system|
|00001230| 20 28 61 20 74 69 6d 69 | 6e 67 20 76 61 72 69 61 | (a timi|ng varia|
|00001240| 62 6c 65 29 20 61 6e 64 | 20 65 78 70 6c 6f 73 69 |ble) and| explosi|
|00001250| 6f 6e 73 20 64 65 6d 6f | 6e 73 74 72 61 74 65 20 |ons demo|nstrate |
|00001260| 74 68 65 20 73 69 6e 67 | 6c 65 20 70 69 78 65 6c |the sing|le pixel|
|00001270| 20 6f 62 6a 65 63 74 73 | 2e 0d 00 06 00 00 0c 00 | objects|........|
|00001280| 00 10 00 01 0d 00 00 06 | 00 00 0c 00 00 10 01 51 |........|.......Q|
|00001290| 50 6c 65 61 73 65 20 6e | 6f 74 65 20 74 68 61 74 |Please n|ote that|
|000012a0| 20 74 68 65 20 61 62 6f | 76 65 20 70 72 6f 67 72 | the abo|ve progr|
|000012b0| 61 6d 20 6f 6e 6c 79 20 | 73 75 70 70 6f 72 74 73 |am only |supports|
|000012c0| 20 61 20 73 69 6e 67 6c | 65 20 73 63 72 65 65 6e | a singl|e screen|
|000012d0| 2e 20 54 6f 20 73 75 70 | 70 6f 72 74 20 73 65 6c |. To sup|port sel|
|000012e0| 65 63 74 69 6f 6e 20 66 | 72 6f 6d 20 6d 75 6c 74 |ection f|rom mult|
|000012f0| 69 70 6c 65 20 73 63 72 | 65 65 6e 73 2c 20 75 73 |iple scr|eens, us|
|00001300| 65 20 74 68 65 20 53 63 | 72 65 65 6e 53 65 6c 65 |e the Sc|reenSele|
|00001310| 63 74 20 66 75 6e 63 74 | 69 6f 6e 20 66 6f 75 6e |ct funct|ion foun|
|00001320| 64 20 69 6e 20 53 63 72 | 65 65 6e 53 65 6c 65 63 |d in Scr|eenSelec|
|00001330| 74 2e 63 2e 20 54 68 65 | 20 73 63 72 65 65 6e 20 |t.c. The| screen |
|00001340| 73 65 6c 65 63 74 69 6f | 6e 20 63 6f 64 65 20 77 |selectio|n code w|
|00001350| 61 73 20 6e 6f 74 20 6d | 61 64 65 20 61 6e 20 69 |as not m|ade an i|
|00001360| 6e 74 65 67 72 61 6c 20 | 70 61 72 74 20 6f 66 20 |ntegral |part of |
|00001370| 74 68 65 20 76 65 63 74 | 6f 72 20 61 6e 69 6d 61 |the vect|or anima|
|00001380| 74 69 6f 6e 20 74 6f 6f | 6c 6b 69 74 20 62 65 63 |tion too|lkit bec|
|00001390| 61 75 73 65 20 69 74 20 | 61 6c 73 6f 20 64 69 73 |ause it |also dis|
|000013a0| 70 6c 61 79 73 20 61 20 | 64 69 61 6c 6f 67 20 74 |plays a |dialog t|
|000013b0| 68 61 74 20 69 73 20 63 | 6c 6f 73 65 6c 79 20 72 |hat is c|losely r|
|000013c0| 65 6c 61 74 65 64 20 74 | 6f 20 74 68 65 20 53 54 |elated t|o the ST|
|000013d0| 4f 52 4d 20 67 61 6d 65 | 20 69 74 73 65 6c 66 2e |ORM game| itself.|
|000013e0| 0d 00 00 06 00 00 0c 00 | 00 10 00 01 0d 00 00 06 |........|........|
|000013f0| 00 00 0c 00 00 10 00 00 | 00 00 02 aa 03 e8 00 0d |........|........|
|00001400| 4d 41 47 49 43 50 49 43 | 11 01 ff 00 00 22 00 00 |MAGICPIC|....."..|
|00001410| 00 27 01 b0 00 6d 00 22 | 00 00 00 27 01 b0 11 01 |.'...m."|...'....|
|00001420| a1 00 64 00 0a 46 57 52 | 54 00 0b 00 48 01 b0 a1 |..d..FWR|T...H...|
|00001430| 00 64 00 38 46 57 52 54 | 00 01 02 78 00 00 00 01 |.d.8FWRT|...x....|
|00001440| 00 00 00 00 00 00 00 00 | ff ff ff ff ff ff ff ff |........|........|
|00001450| 00 02 00 08 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 00 24 00 00 | 00 24 01 b0 01 00 0a 00 |.....$..|.$......|
|00001470| 22 00 00 00 27 01 b0 20 | 00 24 00 00 00 24 01 b0 |"...'.. |.$...$..|
|00001480| ff 55 00 21 43 6f 6c 6f | 72 20 53 65 6c 65 63 74 |.U.!Colo|r Select|
|00001490| 69 6f 6e 20 77 69 74 68 | 20 74 68 65 20 54 6f 6f |ion with| the Too|
|000014a0| 6c 6b 69 74 0d 00 00 06 | 00 00 0e 01 00 10 00 22 |lkit....|......."|
|000014b0| 00 00 00 27 01 b0 00 6d | 00 22 00 00 00 27 01 b0 |...'...m|."...'..|
|000014c0| 11 01 a1 00 64 00 0a 46 | 57 52 54 00 0b 00 48 01 |....d..F|WRT...H.|
|000014d0| b0 a1 00 64 00 38 46 57 | 52 54 00 01 02 78 00 00 |...d.8FW|RT...x..|
|000014e0| 00 01 00 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|000014f0| ff ff 00 02 00 08 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 00 00 00 00 00 00 24 | 00 00 00 24 01 b0 01 00 |.......$|...$....|
|00001510| 0a 00 22 00 00 00 27 01 | b0 20 00 24 00 00 00 24 |.."...'.|. .$...$|
|00001520| 01 b0 ff 64 00 01 0d 00 | 00 06 00 00 0e 01 00 10 |...d....|........|
|00001530| 00 01 0d 00 00 06 00 00 | 0c 00 00 10 01 d1 54 68 |........|......Th|
|00001540| 65 20 76 65 63 74 6f 72 | 20 61 6e 69 6d 61 74 69 |e vector| animati|
|00001550| 6f 6e 20 74 6f 6f 6c 6b | 69 74 20 75 73 65 73 20 |on toolk|it uses |
|00001560| 61 6e 20 69 6e 64 65 78 | 65 64 20 63 6f 6c 6f 72 |an index|ed color|
|00001570| 20 73 65 6c 65 63 74 69 | 6f 6e 20 73 63 68 65 6d | selecti|on schem|
|00001580| 65 2e 20 54 68 69 73 20 | 6d 65 61 6e 73 20 74 68 |e. This |means th|
|00001590| 61 74 20 79 6f 75 20 63 | 61 6e d5 74 20 75 73 65 |at you c|an.t use|
|000015a0| 20 74 68 65 20 6e 6f 72 | 6d 61 6c 20 51 75 69 63 | the nor|mal Quic|
|000015b0| 6b 44 72 61 77 20 52 47 | 42 46 6f 72 65 43 6f 6c |kDraw RG|BForeCol|
|000015c0| 6f 72 20 61 6e 64 20 52 | 47 42 42 61 63 6b 43 6f |or and R|GBBackCo|
|000015d0| 6c 6f 72 20 63 61 6c 6c | 73 20 77 69 74 68 20 69 |lor call|s with i|
|000015e0| 74 2e 20 54 6f 20 75 6e | 64 65 72 73 74 61 6e 64 |t. To un|derstand|
|000015f0| 20 68 6f 77 20 63 6f 6c | 6f 72 73 20 61 72 65 20 | how col|ors are |
|00001600| 75 73 65 64 2c 20 79 6f | 75 20 68 61 76 65 20 74 |used, yo|u have t|
|00001610| 6f 20 75 6e 64 65 72 73 | 74 61 6e 64 20 68 6f 77 |o unders|tand how|
|00001620| 20 74 68 65 20 38 20 62 | 69 74 70 6c 61 6e 65 73 | the 8 b|itplanes|
|00001630| 20 61 72 65 20 64 69 76 | 69 64 65 64 2e 20 49 6e | are div|ided. In|
|00001640| 20 74 68 69 73 20 63 68 | 61 70 74 65 72 20 77 65 | this ch|apter we|
|00001650| 20 77 69 6c 6c 20 61 73 | 73 75 6d 65 20 74 68 61 | will as|sume tha|
|00001660| 74 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 53 |t the st|andard S|
|00001670| 54 4f 52 4d 20 62 69 74 | 70 6c 61 6e 65 20 64 69 |TORM bit|plane di|
|00001680| 76 69 73 69 6f 6e 20 69 | 73 20 75 73 65 64 2e 20 |vision i|s used. |
|00001690| 49 6e 20 6d 61 6e 79 20 | 63 61 73 65 73 20 79 6f |In many |cases yo|
|000016a0| 75 20 6d 69 67 68 74 20 | 70 72 65 66 65 72 20 75 |u might |prefer u|
|000016b0| 73 69 6e 67 20 61 20 73 | 69 6d 70 6c 65 72 20 64 |sing a s|impler d|
|000016c0| 69 76 69 73 69 6f 6e 20 | 77 69 74 68 20 6d 6f 72 |ivision |with mor|
|000016d0| 65 20 63 6f 6c 6f 72 73 | 20 61 76 61 69 6c 61 62 |e colors| availab|
|000016e0| 6c 65 2c 20 62 75 74 20 | 6e 6f 20 70 72 6f 76 69 |le, but |no provi|
|000016f0| 73 69 6f 6e 73 20 66 6f | 72 20 62 61 63 6b 67 72 |sions fo|r backgr|
|00001700| 6f 75 6e 64 20 67 72 61 | 70 68 69 63 73 2e 0d 00 |ound gra|phics...|
|00001710| 00 06 00 00 0c 00 00 10 | 00 01 0d 00 00 06 00 00 |........|........|
|00001720| 0c 00 00 10 00 a6 45 76 | 65 72 79 20 70 69 78 65 |......Ev|ery pixe|
|00001730| 6c 20 6f 6e 20 74 68 65 | 20 73 63 72 65 65 6e 20 |l on the| screen |
|00001740| 69 73 20 6d 61 64 65 20 | 75 70 20 6f 66 20 38 20 |is made |up of 8 |
|00001750| 62 69 74 73 2e 20 55 73 | 75 61 6c 6c 79 20 74 68 |bits. Us|ually th|
|00001760| 65 73 65 20 72 65 70 72 | 65 73 65 6e 74 20 32 35 |ese repr|esent 25|
|00001770| 36 20 64 69 73 74 69 6e | 63 74 20 63 6f 6c 6f 72 |6 distin|ct color|
|00001780| 73 2c 20 62 75 74 20 69 | 6e 20 6f 75 72 20 63 61 |s, but i|n our ca|
|00001790| 73 65 2c 20 77 65 20 63 | 72 65 61 74 65 20 61 20 |se, we c|reate a |
|000017a0| 73 70 65 63 69 61 6c 20 | 63 6f 6c 6f 72 20 74 61 |special |color ta|
|000017b0| 62 6c 65 20 74 68 61 74 | 20 63 72 65 61 74 65 73 |ble that| creates|
|000017c0| 20 62 69 74 70 6c 61 6e | 65 73 3a 0d 00 06 00 00 | bitplan|es:.....|
|000017d0| 0c 00 00 10 00 02 09 0d | 00 06 00 00 0c 00 00 10 |........|........|
|000017e0| 00 2e 00 0a 00 ab 00 cf | 0b 36 00 2e 00 0a 00 ab |........|.6......|
|000017f0| 00 cf 11 01 a1 00 64 00 | 0a 46 57 52 54 00 0b 00 |......d.|.FWRT...|
|00001800| d8 00 d8 a1 00 64 00 38 | 46 57 52 54 00 01 03 d8 |.....d.8|FWRT....|
|00001810| 00 11 00 01 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|00001820| ff ff ff ff 00 02 00 08 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 00 00 00 00 00 00 00 00 | 00 3c 00 0c 00 49 00 25 |........|.<...I.%|
|00001840| 01 00 0a 00 2e 00 0a 00 | ab 00 cf 09 00 00 00 00 |........|........|
|00001850| 00 00 00 00 31 00 3d 00 | 0d 00 48 00 24 09 ff ff |....1.=.|..H.$...|
|00001860| ff ff ff ff ff ff 30 00 | 3c 00 0c 00 49 00 25 a1 |......0.|<...I.%.|
|00001870| 00 64 00 38 46 57 52 54 | 00 01 03 d8 00 11 00 01 |.d.8FWRT|........|
|00001880| 00 00 00 00 00 00 00 00 | ff ff ff ff ff ff ff ff |........|........|
|00001890| 00 02 00 08 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018a0| 00 00 00 00 00 3c 00 24 | 00 49 00 3d 09 00 00 00 |.....<.$|.I.=....|
|000018b0| 00 00 00 00 00 31 00 3d | 00 25 00 48 00 3c 09 ff |.....1.=|.%.H.<..|
|000018c0| ff ff ff ff ff ff ff 30 | 00 3c 00 24 00 49 00 3d |.......0|.<.$.I.=|
|000018d0| a1 00 64 00 38 46 57 52 | 54 00 01 03 d8 00 11 00 |..d.8FWR|T.......|
|000018e0| 01 00 00 00 00 00 00 00 | 00 ff ff ff ff ff ff ff |........|........|
|000018f0| ff 00 02 00 08 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 00 00 00 00 00 3c 00 | 3c 00 49 00 55 09 00 00 |......<.|<.I.U...|
|00001910| 00 00 00 00 00 00 31 00 | 3d 00 3d 00 48 00 54 09 |......1.|=.=.H.T.|
|00001920| ff ff ff ff ff ff ff ff | 30 00 3c 00 3c 00 49 00 |........|0.<.<.I.|
|00001930| 55 a1 00 64 00 38 46 57 | 52 54 00 01 03 10 00 11 |U..d.8FW|RT......|
|00001940| 00 01 00 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|00001950| ff ff 00 02 00 08 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 3c | 00 54 00 49 00 6d 09 00 |.......<|.T.I.m..|
|00001970| 00 00 00 00 00 00 00 31 | 00 3d 00 55 00 48 00 6c |.......1|.=.U.H.l|
|00001980| 09 ff ff ff ff ff ff ff | ff 30 00 3c 00 54 00 49 |........|.0.<.T.I|
|00001990| 00 6d a1 00 64 00 38 46 | 57 52 54 00 01 03 10 00 |.m..d.8F|WRT.....|
|000019a0| 11 00 01 00 00 00 00 00 | 00 00 00 ff ff ff ff ff |........|........|
|000019b0| ff ff ff 00 02 00 08 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019c0| 00 00 00 00 00 00 00 00 | 3c 00 6c 00 49 00 85 09 |........|<.l.I...|
|000019d0| 00 00 00 00 00 00 00 00 | 31 00 3d 00 6d 00 48 00 |........|1.=.m.H.|
|000019e0| 84 09 ff ff ff ff ff ff | ff ff 30 00 3c 00 6c 00 |........|..0.<.l.|
|000019f0| 49 00 85 a1 00 64 00 38 | 46 57 52 54 00 01 03 10 |I....d.8|FWRT....|
|00001a00| 00 11 00 01 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|00001a10| ff ff ff ff 00 02 00 08 | 00 00 00 00 00 00 00 00 |........|........|
|00001a20| 00 00 00 00 00 00 00 00 | 00 3c 00 84 00 49 00 9d |........|.<...I..|
|00001a30| 09 00 00 00 00 00 00 00 | 00 31 00 3d 00 85 00 48 |........|.1.=...H|
|00001a40| 00 9c 09 ff ff ff ff ff | ff ff ff 30 00 3c 00 84 |........|...0.<..|
|00001a50| 00 49 00 9d a1 00 64 00 | 38 46 57 52 54 00 01 03 |.I....d.|8FWRT...|
|00001a60| 10 00 11 00 01 00 00 00 | 00 00 00 00 00 ff ff ff |........|........|
|00001a70| ff ff ff ff ff 00 02 00 | 08 00 00 00 00 00 00 00 |........|........|
|00001a80| 00 00 00 00 00 00 00 00 | 00 00 3c 00 9c 00 49 00 |........|..<...I.|
|00001a90| b5 09 00 00 00 00 00 00 | 00 00 31 00 3d 00 9d 00 |........|..1.=...|
|00001aa0| 48 00 b4 09 ff ff ff ff | ff ff ff ff 30 00 3c 00 |H.......|....0.<.|
|00001ab0| 9c 00 49 00 b5 a1 00 64 | 00 38 46 57 52 54 00 01 |..I....d|.8FWRT..|
|00001ac0| 03 10 00 11 00 01 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00001ad0| ff ff ff ff ff ff 00 02 | 00 08 00 00 00 00 00 00 |........|........|
|00001ae0| 00 00 00 00 00 00 00 00 | 00 00 00 3c 00 b4 00 49 |........|...<...I|
|00001af0| 00 cd 09 00 00 00 00 00 | 00 00 00 31 00 3d 00 b5 |........|...1.=..|
|00001b00| 00 48 00 cc 09 ff ff ff | ff ff ff ff ff 30 00 3c |.H......|.....0.<|
|00001b10| 00 b4 00 49 00 cd a1 00 | 64 00 7e 46 57 52 54 00 |...I....|d.~FWRT.|
|00001b20| 01 01 00 00 11 00 01 00 | 00 00 00 00 00 00 00 ff |........|........|
|00001b30| ff ff ff ff ff ff ff 00 | 02 00 01 00 00 00 00 00 |........|........|
|00001b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 30 00 0c 00 |........|....0...|
|00001b50| 3d 00 33 00 30 00 0c 00 | 30 00 32 00 00 00 01 00 |=.3.0...|0.2.....|
|00001b60| 00 00 0a 00 10 01 00 00 | 00 40 07 00 00 00 00 01 |........|.@......|
|00001b70| 00 00 00 00 01 00 00 00 | 0a 00 10 01 00 00 00 00 |........|........|
|00001b80| 00 00 00 ff ff ff ff ff | ff ff ff ff ff 00 02 00 |........|........|
|00001b90| 00 81 4d 53 00 42 69 74 | a4 90 00 06 00 00 00 00 |..MS.Bit|........|
|00001ba0| 00 0d 00 27 00 00 00 00 | 00 0d 00 27 00 30 00 0c |...'....|...'.0..|
|00001bb0| 00 3d 00 33 00 01 00 00 | 00 00 00 00 30 4f 1e 20 |.=.3....|....0O. |
|00001bc0| 00 00 18 d1 09 04 00 00 | 18 d0 09 04 00 00 15 4e |........|.......N|
|00001bd0| 0f 6e 00 00 15 43 08 a4 | 00 00 12 41 08 a4 00 00 |.n...C..|...A....|
|00001be0| 12 51 09 a4 00 00 3a fe | 1f 76 00 00 00 00 00 00 |.Q....:.|.v......|
|00001bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c00| 00 00 00 00 a1 00 64 00 | 80 46 57 52 54 00 01 01 |......d.|.FWRT...|
|00001c10| 00 00 11 00 01 00 00 00 | 00 00 00 00 00 ff ff ff |........|........|
|00001c20| ff ff ff ff ff 00 02 00 | 01 00 00 00 00 00 00 00 |........|........|
|00001c30| 00 00 00 00 00 00 00 00 | 00 00 30 00 9c 00 3d 00 |........|..0...=.|
|00001c40| cd 00 30 00 9c 00 30 00 | cc 00 00 00 01 00 00 00 |..0...0.|........|
|00001c50| 0a 00 10 01 00 00 00 40 | 07 00 00 00 00 01 00 00 |.......@|........|
|00001c60| 00 00 01 00 00 00 0a 00 | 10 01 00 00 00 00 00 00 |........|........|
|00001c70| 00 ff ff ff ff ff ff ff | ff ff ff 00 02 00 00 9b |........|........|
|00001c80| 9c 81 4c 53 00 42 69 74 | a4 98 00 08 00 00 00 00 |..LS.Bit|........|
|00001c90| 00 0d 00 31 00 00 00 00 | 00 0d 00 31 00 30 00 9c |...1....|...1.0..|
|00001ca0| 00 3d 00 cd 00 01 02 f9 | 00 09 05 00 00 07 0f 1e |.=......|........|
|00001cb0| 20 ff 00 09 05 00 00 02 | 11 09 04 ff 00 09 05 00 | .......|........|
|00001cc0| 00 02 10 09 04 ff 00 09 | 05 00 00 02 0e 0f 6e ff |........|......n.|
|00001cd0| 00 09 05 00 00 02 03 08 | a4 ff 00 09 05 00 00 02 |........|........|
|00001ce0| 01 08 a4 ff 00 09 05 00 | 00 02 31 09 a4 ff 00 09 |........|..1.....|
|00001cf0| 05 00 00 07 fe 1f 76 ff | 00 02 f9 00 02 f9 00 02 |......v.|........|
|00001d00| f9 00 02 f9 00 a1 00 64 | 00 84 46 57 52 54 00 01 |.......d|..FWRT..|
|00001d10| 01 00 00 11 00 01 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00001d20| ff ff ff ff ff ff 00 02 | 00 01 00 00 00 00 00 00 |........|........|
|00001d30| 00 00 00 00 00 00 00 00 | 00 00 00 60 00 11 00 a9 |........|...`....|
|00001d40| 00 1e 00 60 00 1d 00 a8 | 00 1d 00 00 00 01 00 00 |...`....|........|
|00001d50| 00 0a 00 10 01 00 00 00 | 40 07 00 00 00 00 01 00 |........|@.......|
|00001d60| 00 00 00 01 00 00 00 0a | 00 10 01 00 00 00 00 00 |........|........|
|00001d70| 00 00 ff ff ff ff ff ff | ff ff ff ff 00 02 00 00 |........|........|
|00001d80| 81 42 61 63 6b 67 72 6f | 75 6e 64 00 31 a4 90 00 |.Backgro|und.1...|
|00001d90| 02 00 00 00 00 00 49 00 | 0d 00 00 00 00 00 49 00 |......I.|......I.|
|00001da0| 0d 00 60 00 11 00 a9 00 | 1e 00 01 00 00 00 00 08 |..`.....|........|
|00001db0| 10 0f f0 08 90 08 90 0c | e0 07 00 0d 00 0a 80 0a |........|........|
|00001dc0| 80 0f 00 08 00 07 00 08 | 80 08 80 00 00 00 00 08 |........|........|
|00001dd0| 10 0f f0 02 00 07 00 0c | 80 3b 00 54 80 54 80 53 |........|.;.T.T.S|
|00001de0| 80 30 80 00 00 08 80 0f | 00 09 80 00 00 07 00 08 |.0......|........|
|00001df0| 80 08 80 07 00 00 00 07 | 80 08 00 08 00 07 80 08 |........|........|
|00001e00| 00 00 80 0f 00 00 80 00 | 80 0f 00 00 00 00 00 07 |........|........|
|00001e10| 00 08 80 08 90 0f f0 08 | 00 00 00 00 00 00 00 00 |........|........|
|00001e20| 00 00 20 08 20 0f f0 08 | 00 00 00 00 00 00 00 00 |.. . ...|........|
|00001e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 a1 00 64 |........|.......d|
|00001e40| 00 84 46 57 52 54 00 01 | 01 00 00 11 00 01 00 00 |..FWRT..|........|
|00001e50| 00 00 00 00 00 00 ff ff | ff ff ff ff ff ff 00 02 |........|........|
|00001e60| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e70| 00 00 00 60 00 29 00 a9 | 00 36 00 60 00 35 00 a8 |...`.)..|.6.`.5..|
|00001e80| 00 35 00 00 00 01 00 00 | 00 0a 00 10 01 00 00 00 |.5......|........|
|00001e90| 40 07 00 00 00 00 01 00 | 00 00 00 01 00 00 00 0a |@.......|........|
|00001ea0| 00 10 01 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|00001eb0| ff ff ff ff 00 02 00 00 | 81 42 61 63 6b 67 72 6f |........|.Backgro|
|00001ec0| 75 6e 64 00 32 a4 90 00 | 02 00 00 00 00 00 49 00 |und.2...|......I.|
|00001ed0| 0d 00 00 00 00 00 49 00 | 0d 00 60 00 29 00 a9 00 |......I.|..`.)...|
|00001ee0| 36 00 01 00 00 00 00 08 | 10 0f f0 08 90 08 90 0c |6.......|........|
|00001ef0| e0 07 00 0d 00 0a 80 0a | 80 0f 00 08 00 07 00 08 |........|........|
|00001f00| 80 08 80 00 00 00 00 08 | 10 0f f0 02 00 07 00 0c |........|........|
|00001f10| 80 3b 00 54 80 54 80 53 | 80 30 80 00 00 08 80 0f |.;.T.T.S|.0......|
|00001f20| 00 09 80 00 00 07 00 08 | 80 08 80 07 00 00 00 07 |........|........|
|00001f30| 80 08 00 08 00 07 80 08 | 00 00 80 0f 00 00 80 00 |........|........|
|00001f40| 80 0f 00 00 00 00 00 07 | 00 08 80 08 90 0f f0 08 |........|........|
|00001f50| 00 00 00 00 00 00 00 00 | 00 0c 60 0a 10 09 10 08 |........|..`.....|
|00001f60| e0 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f70| 00 00 00 00 00 a1 00 64 | 00 84 46 57 52 54 00 01 |.......d|..FWRT..|
|00001f80| 01 00 00 11 00 01 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00001f90| ff ff ff ff ff ff 00 02 | 00 01 00 00 00 00 00 00 |........|........|
|00001fa0| 00 00 00 00 00 00 00 00 | 00 00 00 60 00 59 00 a9 |........|...`.Y..|
|00001fb0| 00 66 00 60 00 65 00 a8 | 00 65 00 00 00 01 00 00 |.f.`.e..|.e......|
|00001fc0| 00 0a 00 10 01 00 00 00 | 40 07 00 00 00 00 01 00 |........|@.......|
|00001fd0| 00 00 00 01 00 00 00 0a | 00 10 01 00 00 00 00 00 |........|........|
|00001fe0| 00 00 ff ff ff ff ff ff | ff ff ff ff 00 02 00 00 |........|........|
|00001ff0| 81 46 6f 72 65 67 72 6f | 75 6e 64 00 41 a4 90 00 |.Foregro|und.A...|
|00002000| 02 00 00 00 00 00 49 00 | 0d 00 00 00 00 00 49 00 |......I.|......I.|
|00002010| 0d 00 60 00 59 00 a9 00 | 66 00 01 00 00 00 00 08 |..`.Y...|f.......|
|00002020| 10 0f f0 08 90 00 90 00 | 30 00 00 07 00 08 80 08 |........|0.......|
|00002030| 80 07 00 00 00 08 80 0f | 00 09 80 00 00 07 00 0a |........|........|
|00002040| 80 0a 80 0b 00 00 00 3b | 00 54 80 54 80 53 80 30 |.......;|.T.T.S.0|
|00002050| 80 08 80 0f 00 09 80 00 | 00 07 00 08 80 08 80 07 |........|........|
|00002060| 00 00 00 00 00 07 80 08 | 00 08 00 07 80 08 00 00 |........|........|
|00002070| 80 0f 00 00 80 00 80 0f | 00 00 00 00 00 07 00 08 |........|........|
|00002080| 80 08 90 0f f0 08 00 00 | 00 00 00 00 00 08 00 0f |........|........|
|00002090| 00 02 c0 02 30 02 c0 0f | 00 08 00 00 00 00 00 00 |....0...|........|
|000020a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 a1 00 64 |........|.......d|
|000020b0| 00 84 46 57 52 54 00 01 | 01 00 00 11 00 01 00 00 |..FWRT..|........|
|000020c0| 00 00 00 00 00 00 ff ff | ff ff ff ff ff ff 00 02 |........|........|
|000020d0| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020e0| 00 00 00 60 00 a1 00 a9 | 00 ae 00 60 00 ad 00 a8 |...`....|...`....|
|000020f0| 00 ad 00 00 00 01 00 00 | 00 0a 00 10 01 00 00 00 |........|........|
|00002100| 40 07 00 00 00 00 01 00 | 00 00 00 01 00 00 00 0a |@.......|........|
|00002110| 00 10 01 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|00002120| ff ff ff ff 00 02 00 00 | 81 46 6f 72 65 67 72 6f |........|.Foregro|
|00002130| 75 6e 64 00 42 a4 90 00 | 02 00 00 00 00 00 49 00 |und.B...|......I.|
|00002140| 0d 00 00 00 00 00 49 00 | 0d 00 60 00 a1 00 a9 00 |......I.|..`.....|
|00002150| ae 00 01 00 00 00 00 08 | 10 0f f0 08 90 00 90 00 |........|........|
|00002160| 30 00 00 07 00 08 80 08 | 80 07 00 00 00 08 80 0f |0.......|........|
|00002170| 00 09 80 00 00 07 00 0a | 80 0a 80 0b 00 00 00 3b |........|.......;|
|00002180| 00 54 80 54 80 53 80 30 | 80 08 80 0f 00 09 80 00 |.T.T.S.0|........|
|00002190| 00 07 00 08 80 08 80 07 | 00 00 00 00 00 07 80 08 |........|........|
|000021a0| 00 08 00 07 80 08 00 00 | 80 0f 00 00 80 00 80 0f |........|........|
|000021b0| 00 00 00 00 00 07 00 08 | 80 08 90 0f f0 08 00 00 |........|........|
|000021c0| 00 00 00 00 00 08 10 0f | f0 08 90 08 90 0c e0 07 |........|........|
|000021d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021e0| 00 00 00 00 00 a1 00 64 | 00 3c 46 57 52 54 00 01 |.......d|.<FWRT..|
|000021f0| 05 00 00 00 00 01 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00002200| ff ff ff ff ff ff 00 02 | 00 08 00 00 00 00 00 00 |........|........|
|00002210| 00 00 00 00 00 00 00 00 | 00 00 00 41 00 84 00 5a |........|...A...Z|
|00002220| 00 cd 00 b4 00 5a 60 00 | 41 00 84 00 5a 00 cd 00 |.....Z`.|A...Z...|
|00002230| 5a 00 b4 a1 00 64 00 3c | 46 57 52 54 00 01 05 00 |Z....d.<|FWRT....|
|00002240| 00 00 00 01 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|00002250| ff ff ff ff 00 02 00 08 | 00 00 00 00 00 00 00 00 |........|........|
|00002260| 00 00 00 00 00 00 00 00 | 00 41 00 3c 00 5a 00 85 |........|.A.<.Z..|
|00002270| 00 b4 00 5a 60 00 41 00 | 3c 00 5a 00 85 00 5a 00 |...Z`.A.|<.Z...Z.|
|00002280| b4 a1 00 64 00 3c 46 57 | 52 54 00 01 05 00 00 00 |...d.<FW|RT......|
|00002290| 00 01 00 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|000022a0| ff ff 00 02 00 08 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022b0| 00 00 00 00 00 00 00 41 | 00 24 00 5a 00 3d 00 b4 |.......A|.$.Z.=..|
|000022c0| 00 5a 60 00 41 00 24 00 | 5a 00 3d 00 5a 00 b4 a1 |.Z`.A.$.|Z.=.Z...|
|000022d0| 00 64 00 3c 46 57 52 54 | 00 01 05 00 00 00 00 01 |.d.<FWRT|........|
|000022e0| 00 00 00 00 00 00 00 00 | ff ff ff ff ff ff ff ff |........|........|
|000022f0| 00 02 00 08 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002300| 00 00 00 00 00 41 00 0c | 00 5a 00 25 00 b4 00 5a |.....A..|.Z.%...Z|
|00002310| 60 00 41 00 0c 00 5a 00 | 25 00 5a 00 b4 ff 00 01 |`.A...Z.|%.Z.....|
|00002320| 0d 00 00 06 00 00 0c 00 | 00 10 02 d7 46 6f 72 65 |........|....Fore|
|00002330| 67 72 6f 75 6e 64 73 20 | 41 20 61 6e 64 20 42 20 |grounds |A and B |
|00002340| 61 72 65 20 6e 65 76 65 | 72 20 64 69 73 70 6c 61 |are neve|r displa|
|00002350| 79 65 64 20 61 74 20 74 | 68 65 20 73 61 6d 65 20 |yed at t|he same |
|00002360| 74 69 6d 65 2e 20 54 68 | 65 20 74 6f 6f 6c 6b 69 |time. Th|e toolki|
|00002370| 74 20 63 6f 6c 6f 72 20 | 6d 61 70 70 69 6e 67 20 |t color |mapping |
|00002380| 61 6c 77 61 79 73 20 6d | 61 6b 65 73 20 6f 6e 65 |always m|akes one|
|00002390| 20 6f 66 20 74 68 65 73 | 65 20 74 72 61 6e 73 70 | of thes|e transp|
|000023a0| 61 72 65 6e 74 2c 20 73 | 6f 20 74 68 61 74 20 64 |arent, s|o that d|
|000023b0| 6f 75 62 6c 65 20 62 75 | 66 66 65 72 65 64 20 64 |ouble bu|ffered d|
|000023c0| 72 61 77 69 6e 67 20 63 | 61 6e 20 62 65 20 64 6f |rawing c|an be do|
|000023d0| 6e 65 20 69 6e 76 69 73 | 69 62 6c 79 20 74 6f 20 |ne invis|ibly to |
|000023e0| 74 68 65 20 75 73 65 72 | 2e 20 55 73 75 61 6c 6c |the user|. Usuall|
|000023f0| 79 20 79 6f 75 20 63 61 | 6e 20 61 73 73 75 6d 65 |y you ca|n assume|
|00002400| 20 74 68 61 74 20 79 6f | 75 20 68 61 76 65 20 6f | that yo|u have o|
|00002410| 6e 65 20 46 6f 72 65 67 | 72 6f 75 6e 64 20 70 6c |ne Foreg|round pl|
|00002420| 61 6e 65 20 28 33 20 62 | 69 74 73 20 77 69 64 65 |ane (3 b|its wide|
|00002430| 29 20 61 6e 64 20 74 77 | 6f 20 62 61 63 6b 67 72 |) and tw|o backgr|
|00002440| 6f 75 6e 64 20 66 69 65 | 6c 64 73 2e 20 49 66 20 |ound fie|lds. If |
|00002450| 74 68 65 20 76 69 73 69 | 62 6c 65 20 66 6f 72 65 |the visi|ble fore|
|00002460| 67 72 6f 75 6e 64 20 66 | 69 65 6c 64 20 69 73 20 |ground f|ield is |
|00002470| 74 72 61 6e 73 70 61 72 | 65 6e 74 20 28 63 6f 6c |transpar|ent (col|
|00002480| 6f 72 20 69 6e 64 65 78 | 20 37 29 2c 20 62 61 63 |or index| 7), bac|
|00002490| 6b 67 72 6f 75 6e 64 20 | 31 20 69 73 20 64 69 73 |kground |1 is dis|
|000024a0| 70 6c 61 79 65 64 20 75 | 6e 6c 65 73 73 20 69 74 |played u|nless it|
|000024b0| 20 69 73 20 61 6c 73 6f | 20 74 72 61 6e 73 70 61 | is also| transpa|
|000024c0| 72 65 6e 74 20 28 63 6f | 6c 6f 72 20 69 6e 64 65 |rent (co|lor inde|
|000024d0| 78 20 31 29 2c 20 69 6e | 20 77 68 69 63 68 20 63 |x 1), in| which c|
|000024e0| 61 73 65 20 62 61 63 6b | 67 72 6f 75 6e 64 20 32 |ase back|ground 2|
|000024f0| 20 69 73 20 64 69 73 70 | 6c 61 79 65 64 20 75 6e | is disp|layed un|
|00002500| 6c 65 73 73 20 69 74 20 | 74 6f 6f 20 69 73 20 74 |less it |too is t|
|00002510| 72 61 6e 73 70 61 72 65 | 6e 74 20 28 63 6f 6c 6f |ranspare|nt (colo|
|00002520| 72 20 69 6e 64 65 78 20 | 31 29 2c 20 69 6e 20 77 |r index |1), in w|
|00002530| 68 69 63 68 20 63 61 73 | 65 20 74 68 65 20 70 69 |hich cas|e the pi|
|00002540| 78 65 6c 20 68 61 73 20 | 74 68 65 20 62 61 63 6b |xel has |the back|
|00002550| 67 72 6f 75 6e 64 20 63 | 6f 6c 6f 72 2e 20 54 68 |ground c|olor. Th|
|00002560| 65 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 63 6f 6c |e backgr|ound col|
|00002570| 6f 72 20 69 73 20 75 73 | 75 61 6c 6c 79 20 62 6c |or is us|ually bl|
|00002580| 61 63 6b 2c 20 62 75 74 | 20 79 6f 75 20 63 61 6e |ack, but| you can|
|00002590| 20 63 72 65 61 74 65 20 | 73 6f 6d 65 20 69 6e 74 | create |some int|
|000025a0| 65 72 65 73 74 69 6e 67 | 20 73 70 65 63 69 61 6c |eresting| special|
|000025b0| 20 65 66 66 65 63 74 73 | 20 62 79 20 63 68 61 6e | effects| by chan|
|000025c0| 67 69 6e 67 20 69 74 20 | 74 6f 20 73 6f 6d 65 20 |ging it |to some |
|000025d0| 62 72 69 67 68 74 20 63 | 6f 6c 6f 72 20 66 6f 72 |bright c|olor for|
|000025e0| 20 61 6e 20 69 6e 73 74 | 61 6e 74 20 28 62 6c 69 | an inst|ant (bli|
|000025f0| 6e 6b 69 6e 67 20 74 68 | 65 20 73 63 72 65 65 6e |nking th|e screen|
|00002600| 29 2e 0d 00 00 06 00 00 | 0c 00 00 10 00 01 0d 00 |).......|........|
|00002610| 00 06 00 00 0c 00 00 10 | 01 7e 43 6f 6c 6f 72 20 |........|.~Color |
|00002620| 64 72 61 77 69 6e 67 20 | 75 73 65 73 20 74 68 72 |drawing |uses thr|
|00002630| 65 65 20 76 61 72 69 61 | 62 6c 65 73 20 74 6f 20 |ee varia|bles to |
|00002640| 73 65 74 20 74 68 65 20 | 62 69 74 70 6c 61 6e 65 |set the |bitplane|
|00002650| 20 61 6e 64 20 63 6f 6c | 6f 72 20 76 61 6c 75 65 | and col|or value|
|00002660| 73 2e 20 56 41 2e 63 6f | 6c 6f 72 20 69 73 20 74 |s. VA.co|lor is t|
|00002670| 68 65 20 76 61 6c 75 65 | 20 74 68 61 74 20 69 73 |he value| that is|
|00002680| 20 75 73 65 64 20 66 6f | 72 20 64 72 61 77 69 6e | used fo|r drawin|
|00002690| 67 2e 20 54 68 65 20 77 | 69 64 74 68 20 28 69 6e |g. The w|idth (in|
|000026a0| 20 62 69 74 73 29 20 6f | 66 20 74 68 69 73 20 76 | bits) o|f this v|
|000026b0| 61 6c 75 65 20 69 73 20 | 73 74 6f 72 65 64 20 69 |alue is |stored i|
|000026c0| 6e 20 56 41 2e 66 69 65 | 6c 64 2e 20 46 6f 72 65 |n VA.fie|ld. Fore|
|000026d0| 67 72 6f 75 6e 64 20 66 | 69 65 6c 64 73 20 68 61 |ground f|ields ha|
|000026e0| 76 65 20 61 20 77 69 64 | 74 68 20 6f 66 20 33 20 |ve a wid|th of 3 |
|000026f0| 61 6e 64 20 62 61 63 6b | 67 72 6f 75 6e 64 20 66 |and back|ground f|
|00002700| 69 65 6c 64 73 20 61 72 | 65 20 6f 6e 65 20 62 69 |ields ar|e one bi|
|00002710| 74 20 77 69 64 65 2e 20 | 54 6f 20 69 6e 64 69 63 |t wide. |To indic|
|00002720| 61 74 65 20 77 68 61 74 | 20 66 69 65 6c 64 20 74 |ate what| field t|
|00002730| 6f 20 64 72 61 77 20 69 | 6e 2c 20 79 6f 75 20 68 |o draw i|n, you h|
|00002740| 61 76 65 20 74 6f 20 73 | 65 74 20 74 68 65 20 56 |ave to s|et the V|
|00002750| 41 2e 6f 66 66 73 65 74 | 20 66 69 65 6c 64 2e 20 |A.offset| field. |
|00002760| 48 65 72 65 d5 73 20 61 | 20 74 61 62 6c 65 20 6f |Here.s a| table o|
|00002770| 66 20 75 73 65 66 75 6c | 20 56 41 2e 6f 66 66 73 |f useful| VA.offs|
|00002780| 65 74 20 61 6e 64 20 56 | 41 2e 66 69 65 6c 64 20 |et and V|A.field |
|00002790| 76 61 6c 75 65 73 3a 0d | 00 06 00 00 0c 00 00 10 |values:.|........|
|000027a0| 00 01 0d 00 00 06 00 00 | 0c 00 00 10 00 14 01 c7 |........|........|
|000027b0| 00 05 00 00 00 14 00 5c | 00 ec 01 34 01 7c 01 b5 |.......\|...4.|..|
|000027c0| 7d 90 03 e9 07 d0 00 16 | 64 9e 00 15 00 c6 00 15 |}.......|d.......|
|000027d0| 09 09 56 41 2e 6f 66 66 | 73 65 74 09 56 41 2e 66 |..VA.off|set.VA.f|
|000027e0| 69 65 6c 64 0d 00 00 06 | 00 00 0c 00 00 10 00 12 |ield....|........|
|000027f0| 09 42 61 63 6b 67 72 6f | 75 6e 64 20 31 09 30 09 |.Backgro|und 1.0.|
|00002800| 31 0d 00 06 00 00 0c 00 | 00 10 00 12 09 42 61 63 |1.......|.....Bac|
|00002810| 6b 67 72 6f 75 6e 64 20 | 32 09 31 09 31 0d 00 06 |kground |2.1.1...|
|00002820| 00 00 0c 00 00 10 00 12 | 09 46 6f 72 65 67 72 6f |........|.Foregro|
|00002830| 75 6e 64 20 41 09 32 09 | 33 0d 00 06 00 00 0c 00 |und A.2.|3.......|
|00002840| 00 10 00 12 09 46 6f 72 | 65 67 72 6f 75 6e 64 20 |.....For|eground |
|00002850| 42 09 35 09 33 0d 00 06 | 00 00 0c 00 00 10 00 14 |B.5.3...|........|
|00002860| 01 c7 00 06 00 00 00 14 | 00 5c 00 a4 00 ec 01 34 |........|.\.....4|
|00002870| 01 7c 01 b5 03 e9 07 d0 | 00 16 64 9e 00 15 00 c6 |.|......|..d.....|
|00002880| 00 01 0d 00 00 06 00 00 | 0c 00 00 10 01 7f 59 6f |........|......Yo|
|00002890| 75 20 68 61 76 65 20 74 | 65 6e 20 63 6f 6c 6f 72 |u have t|en color|
|000028a0| 73 20 61 76 61 69 6c 61 | 62 6c 65 2e 20 54 68 65 |s availa|ble. The|
|000028b0| 73 65 20 63 6f 6c 6f 72 | 73 20 61 72 65 20 75 73 |se color|s are us|
|000028c0| 75 61 6c 6c 79 20 72 65 | 61 64 20 69 6e 20 66 72 |ually re|ad in fr|
|000028d0| 6f 6d 20 61 20 d4 43 4c | 4f 54 d5 20 72 65 73 6f |om a .CL|OT. reso|
|000028e0| 75 72 63 65 2e 20 45 61 | 63 68 20 63 6f 6c 6f 72 |urce. Ea|ch color|
|000028f0| 20 69 73 20 72 65 70 72 | 65 73 65 6e 74 65 64 20 | is repr|esented |
|00002900| 62 79 20 38 20 62 79 74 | 65 73 20 69 6e 20 74 68 |by 8 byt|es in th|
|00002910| 65 20 72 65 73 6f 75 72 | 63 65 2e 20 54 68 65 20 |e resour|ce. The |
|00002920| 66 69 72 73 74 20 74 77 | 6f 20 62 79 74 65 73 20 |first tw|o bytes |
|00002930| 61 72 65 20 63 75 72 72 | 65 6e 74 6c 79 20 75 6e |are curr|ently un|
|00002940| 75 73 65 64 20 62 79 20 | 74 68 65 20 74 6f 6f 6c |used by |the tool|
|00002950| 6b 69 74 20 61 6e 64 20 | 74 68 65 20 72 65 73 74 |kit and |the rest|
|00002960| 20 61 72 65 20 31 36 2d | 62 69 74 20 76 61 6c 75 | are 16-|bit valu|
|00002970| 65 73 20 66 6f 72 20 72 | 65 64 2c 20 67 72 65 65 |es for r|ed, gree|
|00002980| 6e 20 61 6e 64 20 62 6c | 75 65 20 63 6f 6d 70 6f |n and bl|ue compo|
|00002990| 6e 65 6e 74 73 2e 20 54 | 68 65 20 66 69 72 73 74 |nents. T|he first|
|000029a0| 20 73 65 76 65 6e 20 76 | 61 6c 75 65 73 20 61 72 | seven v|alues ar|
|000029b0| 65 20 66 6f 72 67 72 6f | 75 6e 64 20 63 6f 6c 6f |e forgro|und colo|
|000029c0| 72 73 2c 20 74 68 65 6e | 20 74 68 65 72 65 d5 73 |rs, then| there.s|
|000029d0| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 31 2c 20 62 | backgro|und 1, b|
|000029e0| 61 63 6b 67 72 6f 75 6e | 64 20 32 20 61 6e 64 20 |ackgroun|d 2 and |
|000029f0| 74 68 65 20 73 63 72 65 | 65 6e 20 62 61 63 6b 67 |the scre|en backg|
|00002a00| 72 6f 75 6e 64 20 63 6f | 6c 6f 72 2e 0d 00 00 06 |round co|lor.....|
|00002a10| 00 00 0c 00 00 10 00 d6 | 41 6c 6c 20 63 6f 6d 6d |........|All comm|
|00002a20| 61 6e 64 73 20 74 68 61 | 74 20 75 73 65 20 74 68 |ands tha|t use th|
|00002a30| 65 20 64 6f 75 62 6c 65 | 20 62 75 66 66 65 72 65 |e double| buffere|
|00002a40| 64 20 64 69 73 70 6c 61 | 79 20 6c 69 73 74 73 20 |d displa|y lists |
|00002a50| 6f 6e 6c 79 20 6e 65 65 | 64 20 74 68 65 20 56 41 |only nee|d the VA|
|00002a60| 2e 63 6f 6c 6f 72 20 76 | 61 6c 75 65 2c 20 62 65 |.color v|alue, be|
|00002a70| 63 61 75 73 65 20 56 41 | 53 74 65 70 20 74 68 61 |cause VA|Step tha|
|00002a80| 74 20 64 6f 65 73 20 74 | 68 65 20 61 63 74 75 61 |t does t|he actua|
|00002a90| 6c 20 64 72 61 77 69 6e | 67 20 73 65 74 73 20 74 |l drawin|g sets t|
|00002aa0| 68 65 73 65 20 76 61 6c | 75 65 73 20 66 6f 72 20 |hese val|ues for |
|00002ab0| 79 6f 75 2e 20 59 6f 75 | 20 68 61 76 65 20 37 20 |you. You| have 7 |
|00002ac0| 63 6f 6c 6f 72 73 20 61 | 6e 64 20 74 72 61 6e 73 |colors a|nd trans|
|00002ad0| 70 61 72 65 6e 74 20 61 | 76 61 69 6c 61 62 6c 65 |parent a|vailable|
|00002ae0| 20 66 6f 72 20 64 72 61 | 77 69 6e 67 2e 0d 00 06 | for dra|wing....|
|00002af0| 00 00 0c 00 00 10 00 01 | 0d 00 00 06 00 00 0c 00 |........|........|
|00002b00| 00 10 01 70 4d 6f 73 74 | 20 6f 66 20 74 68 65 20 |...pMost| of the |
|00002b10| 74 69 6d 65 20 79 6f 75 | 20 6f 6e 6c 79 20 6e 65 |time you| only ne|
|00002b20| 65 64 20 74 6f 20 74 6f | 75 63 68 20 56 41 2e 63 |ed to to|uch VA.c|
|00002b30| 6f 6c 6f 72 20 74 6f 20 | 64 72 61 77 2e 20 59 6f |olor to |draw. Yo|
|00002b40| 75 20 6e 65 76 65 72 20 | 6e 65 65 64 20 74 6f 20 |u never |need to |
|00002b50| 65 72 61 73 65 20 61 6e | 79 74 68 69 6e 67 20 79 |erase an|ything y|
|00002b60| 6f 75 20 68 61 76 65 20 | 64 72 61 77 6e 20 77 69 |ou have |drawn wi|
|00002b70| 74 68 20 64 69 73 70 6c | 61 79 20 6c 69 73 74 20 |th displ|ay list |
|00002b80| 63 6f 6d 6d 61 6e 64 73 | 2c 20 62 65 63 61 75 73 |commands|, becaus|
|00002b90| 65 20 65 76 65 72 79 74 | 68 69 6e 67 20 74 68 61 |e everyt|hing tha|
|00002ba0| 74 20 69 73 20 64 72 61 | 77 6e 20 77 69 74 68 20 |t is dra|wn with |
|00002bb0| 64 69 73 70 6c 61 79 20 | 6c 69 73 74 73 20 69 73 |display |lists is|
|00002bc0| 20 65 72 61 73 65 64 20 | 62 65 66 6f 72 65 20 74 | erased |before t|
|00002bd0| 68 65 20 6e 65 78 74 20 | 66 72 61 6d 65 20 69 73 |he next |frame is|
|00002be0| 20 64 72 61 77 6e 2e 20 | 46 6f 72 20 74 68 69 73 | drawn. |For this|
|00002bf0| 20 72 65 61 73 6f 6e 2c | 20 79 6f 75 20 75 73 75 | reason,| you usu|
|00002c00| 61 6c 6c 79 20 6f 6e 6c | 79 20 75 73 65 20 56 41 |ally onl|y use VA|
|00002c10| 2e 63 6f 6c 6f 72 20 76 | 61 6c 75 65 73 20 62 65 |.color v|alues be|
|00002c20| 74 77 65 65 6e 20 30 20 | 61 6e 64 20 36 2e 20 57 |tween 0 |and 6. W|
|00002c30| 68 61 74 20 74 68 65 73 | 65 20 63 6f 6c 6f 72 73 |hat thes|e colors|
|00002c40| 20 61 72 65 2c 20 64 65 | 70 65 6e 64 73 20 74 6f | are, de|pends to|
|00002c50| 74 61 6c 6c 79 20 6f 6e | 20 77 68 61 74 20 79 6f |tally on| what yo|
|00002c60| 75 20 68 61 76 65 20 73 | 65 74 20 74 68 65 6d 20 |u have s|et them |
|00002c70| 74 6f 2e 0d 00 06 00 00 | 0c 00 00 10 00 01 0d 00 |to......|........|
|00002c80| 00 06 00 00 0c 00 00 10 | 01 8e 49 66 20 79 6f 75 |........|..If you|
|00002c90| 20 77 69 73 68 20 74 6f | 20 6d 6f 64 69 66 79 20 | wish to| modify |
|00002ca0| 74 68 65 20 62 61 63 6b | 67 72 6f 75 6e 64 20 67 |the back|ground g|
|00002cb0| 72 61 70 68 69 63 73 2c | 20 79 6f 75 20 68 61 76 |raphics,| you hav|
|00002cc0| 65 20 74 6f 20 73 65 74 | 20 74 68 65 20 6f 66 66 |e to set| the off|
|00002cd0| 73 65 74 20 61 6e 64 20 | 66 69 65 6c 64 20 76 61 |set and |field va|
|00002ce0| 72 69 61 62 6c 65 73 20 | 61 6e 64 20 63 61 6c 6c |riables |and call|
|00002cf0| 20 74 68 65 20 73 74 61 | 74 69 63 20 64 72 61 77 | the sta|tic draw|
|00002d00| 69 6e 67 20 63 6f 6d 6d | 61 6e 64 73 2e 20 4f 75 |ing comm|ands. Ou|
|00002d10| 72 20 73 61 6d 70 6c 65 | 20 70 72 6f 67 72 61 6d |r sample| program|
|00002d20| 20 64 6f 65 73 6e d5 74 | 20 68 61 76 65 20 61 6e | doesn.t| have an|
|00002d30| 79 20 73 74 61 74 69 63 | 20 62 61 63 6b 67 72 6f |y static| backgro|
|00002d40| 75 6e 64 20 67 72 61 70 | 68 69 63 73 2c 20 73 6f |und grap|hics, so|
|00002d50| 20 69 74 20 64 6f 65 73 | 6e d5 74 20 63 68 61 6e | it does|n.t chan|
|00002d60| 67 65 20 74 68 65 20 76 | 61 6c 75 65 73 20 6f 66 |ge the v|alues of|
|00002d70| 20 56 41 2e 66 69 65 6c | 64 20 61 6e 64 20 56 41 | VA.fiel|d and VA|
|00002d80| 2e 6f 66 66 73 65 74 2e | 20 43 75 72 72 65 6e 74 |.offset.| Current|
|00002d90| 6c 79 20 74 68 65 72 65 | 20 61 72 65 20 6f 6e 6c |ly there| are onl|
|00002da0| 79 20 74 77 6f 20 73 74 | 61 74 69 63 20 6c 69 6e |y two st|atic lin|
|00002db0| 65 20 64 72 61 77 69 6e | 67 20 63 6f 6d 6d 61 6e |e drawin|g comman|
|00002dc0| 64 73 3a 20 56 41 53 74 | 61 74 69 63 4c 69 6e 65 |ds: VASt|aticLine|
|00002dd0| 20 61 6e 64 20 56 41 44 | 72 61 77 4e 75 6d 62 65 | and VAD|rawNumbe|
|00002de0| 72 2e 20 59 6f 75 20 63 | 61 6e 20 64 6f 20 73 6f |r. You c|an do so|
|00002df0| 6d 65 20 73 74 61 74 69 | 63 20 64 72 61 77 69 6e |me stati|c drawin|
|00002e00| 67 20 77 69 74 68 20 63 | 6f 6c 6f 72 20 51 75 69 |g with c|olor Qui|
|00002e10| 63 6b 44 72 61 77 2e 0d | 00 06 00 00 0c 00 00 10 |ckDraw..|........|
|00002e20| 00 01 0d 00 00 06 00 00 | 0c 00 00 10 01 14 43 6f |........|......Co|
|00002e30| 6c 6f 72 20 51 75 69 63 | 6b 44 72 61 77 20 64 6f |lor Quic|kDraw do|
|00002e40| 65 73 6e d5 74 20 75 6e | 64 65 72 73 74 61 6e 64 |esn.t un|derstand|
|00002e50| 20 6f 75 72 20 63 6f 6e | 63 65 70 74 20 6f 66 20 | our con|cept of |
|00002e60| 62 69 74 70 6c 61 6e 65 | 73 2e 20 49 6e 73 74 65 |bitplane|s. Inste|
|00002e70| 61 64 2c 20 69 74 20 64 | 72 61 77 73 20 65 69 74 |ad, it d|raws eit|
|00002e80| 68 65 72 20 77 69 74 68 | 20 52 47 42 20 76 61 6c |her with| RGB val|
|00002e90| 75 65 73 20 6f 72 20 63 | 6f 6c 6f 72 20 69 6e 64 |ues or c|olor ind|
|00002ea0| 65 78 20 76 61 6c 75 65 | 73 2e 20 49 6e 20 6f 75 |ex value|s. In ou|
|00002eb0| 72 20 63 61 73 65 2c 20 | 74 68 65 20 52 47 42 20 |r case, |the RGB |
|00002ec0| 76 61 6c 75 65 73 20 68 | 61 76 65 20 6e 6f 20 75 |values h|ave no u|
|00002ed0| 73 65 2c 20 73 69 6e 63 | 65 20 74 68 65 20 63 6f |se, sinc|e the co|
|00002ee0| 6c 6f 72 20 74 61 62 6c | 65 20 68 61 73 20 74 68 |lor tabl|e has th|
|00002ef0| 65 20 73 61 6d 65 20 63 | 6f 6c 6f 72 20 72 65 70 |e same c|olor rep|
|00002f00| 65 61 74 65 64 20 69 6e | 20 6d 61 6e 79 20 70 6c |eated in| many pl|
|00002f10| 61 63 65 73 20 61 6e 64 | 20 74 68 69 73 20 63 6f |aces and| this co|
|00002f20| 6e 66 75 73 65 73 20 74 | 68 65 20 63 6f 6c 6f 72 |nfuses t|he color|
|00002f30| 20 6c 6f 6f 6b 75 70 20 | 72 6f 75 74 69 6e 65 73 | lookup |routines|
|00002f40| 2e 0d 00 06 00 00 0c 00 | 00 10 00 01 0d 00 00 06 |........|........|
|00002f50| 00 00 0c 00 00 10 01 35 | 49 6e 64 65 78 65 64 20 |.......5|Indexed |
|00002f60| 6d 6f 64 65 20 68 61 73 | 20 74 68 65 20 70 72 6f |mode has| the pro|
|00002f70| 62 6c 65 6d 20 6f 66 20 | 61 66 66 65 63 74 69 6e |blem of |affectin|
|00002f80| 67 20 61 6c 6c 20 63 6f | 6c 6f 72 20 70 6c 61 6e |g all co|lor plan|
|00002f90| 65 73 20 61 74 20 6f 6e | 63 65 2e 20 54 6f 20 61 |es at on|ce. To a|
|00002fa0| 63 74 69 76 61 74 65 20 | 51 75 69 63 6b 44 72 61 |ctivate |QuickDra|
|00002fb0| 77 20 64 72 61 77 69 6e | 67 2c 20 74 68 65 50 6f |w drawin|g, thePo|
|00002fc0| 72 74 20 68 61 73 20 74 | 6f 20 62 65 20 56 41 2e |rt has t|o be VA.|
|00002fd0| 77 69 6e 64 6f 77 2e 20 | 54 6f 20 73 65 6c 65 63 |window. |To selec|
|00002fe0| 74 20 74 68 65 20 63 6f | 6c 6f 72 20 74 6f 20 62 |t the co|lor to b|
|00002ff0| 65 20 75 73 65 64 2c 20 | 79 6f 75 20 63 61 6c 6c |e used, |you call|
|00003000| 20 50 6d 46 6f 72 65 43 | 6f 6c 6f 72 20 77 69 74 | PmForeC|olor wit|
|00003010| 68 20 61 6e 20 38 2d 62 | 69 74 20 76 61 6c 75 65 |h an 8-b|it value|
|00003020| 20 74 68 61 74 20 72 65 | 70 72 65 73 65 6e 74 73 | that re|presents|
|00003030| 20 74 68 65 20 76 61 6c | 75 65 20 79 6f 75 20 77 | the val|ue you w|
|00003040| 61 6e 74 20 74 6f 20 77 | 72 69 74 65 20 74 6f 20 |ant to w|rite to |
|00003050| 74 68 65 20 70 69 78 65 | 6c 2e 20 54 6f 20 64 72 |the pixe|l. To dr|
|00003060| 61 77 20 6f 6e 20 62 61 | 63 6b 67 72 6f 75 6e 64 |aw on ba|ckground|
|00003070| 20 32 2c 20 63 6f 6c 6f | 72 20 69 6e 64 65 78 20 | 2, colo|r index |
|00003080| 31 39 31 20 69 73 20 75 | 73 65 64 2e 0d 00 00 06 |191 is u|sed.....|
|00003090| 00 00 0c 00 00 10 00 01 | 0d 00 00 06 00 00 0c 00 |........|........|
|000030a0| 00 10 00 b1 41 74 20 6f | 6e 65 20 70 6f 69 6e 74 |....At o|ne point|
|000030b0| 2c 20 74 68 65 20 61 6e | 69 6d 61 74 69 6f 6e 20 |, the an|imation |
|000030c0| 74 6f 6f 6c 6b 69 74 20 | 68 61 64 20 74 68 65 20 |toolkit |had the |
|000030d0| 66 6f 6c 6c 6f 77 69 6e | 67 20 6c 69 6e 65 73 20 |followin|g lines |
|000030e0| 69 6e 20 74 68 65 20 72 | 6f 75 74 69 6e 65 20 74 |in the r|outine t|
|000030f0| 68 61 74 20 65 72 61 73 | 65 64 20 74 68 65 20 73 |hat eras|ed the s|
|00003100| 63 72 65 65 6e 2e 20 54 | 68 65 79 20 77 72 6f 74 |creen. T|hey wrot|
|00003110| 65 20 61 20 73 68 6f 72 | 74 20 63 6f 70 79 72 69 |e a shor|t copyri|
|00003120| 67 68 74 20 6e 6f 74 69 | 63 65 20 69 6e 20 74 68 |ght noti|ce in th|
|00003130| 65 20 62 6f 74 74 6f 6d | 20 6c 65 66 74 20 63 6f |e bottom| left co|
|00003140| 72 6e 65 72 20 6f 66 20 | 74 68 65 20 64 69 73 70 |rner of |the disp|
|00003150| 6c 61 79 3a 0d 00 00 06 | 00 00 0c 00 00 10 00 01 |lay:....|........|
|00003160| 0d 00 00 06 00 00 09 00 | 00 16 00 15 09 53 65 74 |........|.....Set|
|00003170| 50 6f 72 74 28 56 41 2e | 77 69 6e 64 6f 77 29 3b |Port(VA.|window);|
|00003180| 0d 00 00 06 00 00 09 00 | 00 16 00 13 09 50 6d 46 |........|.....PmF|
|00003190| 6f 72 65 43 6f 6c 6f 72 | 28 42 47 32 29 3b 0d 00 |oreColor|(BG2);..|
|000031a0| 00 06 00 00 09 00 00 16 | 00 20 09 4d 6f 76 65 54 |........|. .MoveT|
|000031b0| 6f 28 32 30 2c 56 41 2e | 66 72 61 6d 65 2e 62 6f |o(20,VA.|frame.bo|
|000031c0| 74 74 6f 6d 2d 32 30 29 | 3b 0d 00 06 00 00 09 00 |ttom-20)|;.......|
|000031d0| 00 16 00 4b 09 44 72 61 | 77 53 74 72 69 6e 67 28 |...K.Dra|wString(|
|000031e0| 22 5c 50 50 72 6f 6a 65 | 63 74 20 53 2e 54 2e 4f |"\PProje|ct S.T.O|
|000031f0| 2e 52 2e 4d 2e 20 56 65 | 72 73 69 6f 6e 20 30 2e |.R.M. Ve|rsion 0.|
|00003200| 37 2c 20 a9 31 39 39 30 | 20 50 72 6f 6a 65 63 74 |7, .1990| Project|
|00003210| 20 53 54 4f 52 4d 20 54 | 65 61 6d 22 29 3b 0d 00 | STORM T|eam");..|
|00003220| 00 06 00 00 09 00 00 16 | 00 01 0d 00 00 06 00 00 |........|........|
|00003230| 0c 00 00 10 01 c8 54 6f | 20 70 72 6f 76 69 64 65 |......To| provide|
|00003240| 20 6d 6f 72 65 20 66 6c | 65 78 69 62 69 6c 69 74 | more fl|exibilit|
|00003250| 79 2c 20 49 20 69 6d 70 | 6c 65 6d 65 6e 74 65 64 |y, I imp|lemented|
|00003260| 20 61 6e 6f 74 68 65 72 | 20 77 61 79 20 74 6f 20 | another| way to |
|00003270| 73 65 6c 65 63 74 20 69 | 6e 64 65 78 65 64 20 63 |select i|ndexed c|
|00003280| 6f 6c 6f 72 73 20 77 69 | 74 68 20 63 6f 6c 6f 72 |olors wi|th color|
|00003290| 20 71 75 69 63 6b 64 72 | 61 77 2e 20 54 68 69 73 | quickdr|aw. This|
|000032a0| 20 69 6e 76 6f 6c 76 65 | 73 20 61 20 73 70 65 63 | involve|s a spec|
|000032b0| 69 61 6c 20 63 6f 6c 6f | 72 20 6d 61 74 63 68 69 |ial colo|r matchi|
|000032c0| 6e 67 20 72 6f 75 74 69 | 6e 65 20 74 68 61 74 20 |ng routi|ne that |
|000032d0| 69 73 20 61 74 74 61 63 | 68 65 64 20 74 6f 20 74 |is attac|hed to t|
|000032e0| 68 65 20 64 69 73 70 6c | 61 79 20 64 65 76 69 63 |he displ|ay devic|
|000032f0| 65 2e 20 53 69 6e 63 65 | 20 74 68 65 20 70 61 6c |e. Since| the pal|
|00003300| 65 74 74 65 20 6d 61 6e | 61 67 65 72 20 70 72 6f |ette man|ager pro|
|00003310| 76 69 64 65 73 20 65 6e | 6f 75 67 68 20 66 6c 65 |vides en|ough fle|
|00003320| 78 69 62 69 6c 69 74 79 | 20 69 6e 20 6d 6f 73 74 |xibility| in most|
|00003330| 20 63 61 73 65 73 2c 20 | 79 6f 75 20 73 68 6f 75 | cases, |you shou|
|00003340| 6c 64 20 72 65 61 64 20 | 74 68 65 20 73 6f 75 63 |ld read |the souc|
|00003350| 65 20 69 6e 20 56 41 43 | 6f 6c 6f 72 2e 63 2c 20 |e in VAC|olor.c, |
|00003360| 69 66 20 79 6f 75 20 6e | 65 65 64 20 74 6f 20 75 |if you n|eed to u|
|00003370| 73 65 20 74 68 69 73 20 | 73 70 65 63 69 61 6c 20 |se this |special |
|00003380| 63 6f 6c 6f 72 20 73 63 | 68 65 6d 65 2e 20 49 66 |color sc|heme. If|
|00003390| 20 79 6f 75 20 61 72 20 | 65 20 64 72 61 77 69 6e | you ar |e drawin|
|000033a0| 67 20 61 20 71 75 69 63 | 6b 64 72 61 77 20 50 49 |g a quic|kdraw PI|
|000033b0| 43 54 75 72 65 2c 20 79 | 6f 75 20 6d 69 67 68 74 |CTure, y|ou might|
|000033c0| 20 66 69 6e 64 20 69 74 | 20 75 73 65 66 75 6c 20 | find it| useful |
|000033d0| 74 6f 20 62 65 20 61 62 | 6c 65 20 74 6f 20 63 68 |to be ab|le to ch|
|000033e0| 61 6e 67 65 20 74 68 65 | 20 63 6f 6c 6f 72 20 6d |ange the| color m|
|000033f0| 61 74 63 68 69 6e 67 20 | 63 6f 64 65 2e 0d 00 06 |atching |code....|
|00003400| 00 00 0c 00 00 10 00 01 | 0d 00 00 06 00 00 0c 00 |........|........|
|00003410| 00 10 01 c8 49 66 20 74 | 68 65 20 77 61 79 20 63 |....If t|he way c|
|00003420| 6f 6c 6f 72 73 20 61 6e | 64 20 74 72 61 6e 73 70 |olors an|d transp|
|00003430| 61 72 65 6e 63 79 20 69 | 73 20 68 61 6e 64 6c 65 |arency i|s handle|
|00003440| 64 20 64 6f 65 73 6e d5 | 74 20 70 6c 65 61 73 65 |d doesn.|t please|
|00003450| 20 79 6f 75 2c 20 79 6f | 75 20 63 61 6e 20 72 65 | you, yo|u can re|
|00003460| 70 6c 61 63 65 20 74 68 | 65 20 69 6e 74 65 72 6e |place th|e intern|
|00003470| 61 6c 20 72 6f 75 74 69 | 6e 65 20 56 41 53 65 74 |al routi|ne VASet|
|00003480| 43 6f 6c 6f 72 73 20 77 | 69 74 68 20 79 6f 75 72 |Colors w|ith your|
|00003490| 20 6f 77 6e 20 76 65 72 | 73 69 6f 6e 2e 20 54 68 | own ver|sion. Th|
|000034a0| 69 73 20 72 6f 75 74 69 | 6e 65 20 70 72 65 63 61 |is routi|ne preca|
|000034b0| 6c 63 75 6c 61 74 65 73 | 20 61 6c 6c 20 74 68 65 |lculates| all the|
|000034c0| 20 6c 6f 67 69 63 20 6e | 65 65 64 65 64 20 66 6f | logic n|eeded fo|
|000034d0| 72 20 74 68 65 20 62 69 | 74 70 6c 61 6e 65 20 61 |r the bi|tplane a|
|000034e0| 72 72 61 6e 67 65 6d 65 | 6e 74 20 6e 65 65 64 65 |rrangeme|nt neede|
|000034f0| 64 20 66 6f 72 20 50 72 | 6f 6a 65 63 74 20 53 54 |d for Pr|oject ST|
|00003500| 4f 52 4d 2e 20 49 66 20 | 79 6f 75 20 66 69 6e 64 |ORM. If |you find|
|00003510| 20 79 6f 75 20 6e 65 65 | 64 20 31 36 20 64 69 73 | you nee|d 16 dis|
|00003520| 63 72 65 74 65 20 63 6f | 6c 6f 72 73 20 61 6e 64 |crete co|lors and|
|00003530| 20 6e 6f 20 73 74 61 74 | 69 63 20 62 61 63 6b 67 | no stat|ic backg|
|00003540| 72 6f 75 6e 64 20 67 72 | 61 70 68 69 63 73 20 66 |round gr|aphics f|
|00003550| 6f 72 20 61 20 74 61 6e | 6b 20 67 61 6d 65 2c 20 |or a tan|k game, |
|00003560| 63 68 61 6e 67 65 20 74 | 68 69 73 20 72 6f 75 74 |change t|his rout|
|00003570| 69 6e 65 20 61 6e 64 20 | 74 68 65 20 66 69 65 6c |ine and |the fiel|
|00003580| 64 20 61 6e 64 20 6f 66 | 66 73 65 74 20 76 61 6c |d and of|fset val|
|00003590| 75 65 73 20 69 6e 20 56 | 41 44 6f 46 72 61 6d 65 |ues in V|ADoFrame|
|000035a0| 20 61 6e 64 20 79 6f 75 | 20 61 72 65 20 61 6c 6c | and you| are all|
|000035b0| 20 73 65 74 20 77 69 74 | 68 20 61 20 64 69 66 66 | set wit|h a diff|
|000035c0| 65 72 65 6e 74 20 63 6f | 6c 6f 72 20 6d 61 70 70 |erent co|lor mapp|
|000035d0| 69 6e 67 20 73 63 68 65 | 6d 65 21 0d 00 06 00 00 |ing sche|me!.....|
|000035e0| 0c 00 00 10 00 01 0d 00 | 00 06 00 00 0c 00 00 10 |........|........|
|000035f0| 00 01 0d 00 00 06 00 00 | 0c 00 00 10 00 01 0d 00 |........|........|
|00003600| 00 06 00 00 0c 00 00 10 | 00 22 00 00 00 27 01 b0 |........|."...'..|
|00003610| 00 6d 00 22 00 00 00 27 | 01 b0 11 01 a1 00 64 00 |.m."...'|......d.|
|00003620| 0a 46 57 52 54 00 0b 00 | 48 01 b0 a1 00 64 00 38 |.FWRT...|H....d.8|
|00003630| 46 57 52 54 00 01 02 78 | 00 00 00 01 00 00 00 00 |FWRT...x|........|
|00003640| 00 00 00 00 ff ff ff ff | ff ff ff ff 00 02 00 08 |........|........|
|00003650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003660| 00 24 00 00 00 24 01 b0 | 01 00 0a 00 22 00 00 00 |.$...$..|...."...|
|00003670| 27 01 b0 20 00 24 00 00 | 00 24 01 b0 ff 64 00 23 |'.. .$..|.$...d.#|
|00003680| 55 73 69 6e 67 20 74 68 | 65 20 56 65 63 74 6f 72 |Using th|e Vector|
|00003690| 20 41 6e 69 6d 61 74 69 | 6f 6e 20 54 6f 6f 6c 6b | Animati|on Toolk|
|000036a0| 69 74 0d 00 00 06 00 00 | 0e 01 00 10 00 22 00 00 |it......|....."..|
|000036b0| 00 27 01 b0 00 6d 00 22 | 00 00 00 27 01 b0 11 01 |.'...m."|...'....|
|000036c0| a1 00 64 00 0a 46 57 52 | 54 00 0b 00 48 01 b0 a1 |..d..FWR|T...H...|
|000036d0| 00 64 00 38 46 57 52 54 | 00 01 02 78 00 00 00 01 |.d.8FWRT|...x....|
|000036e0| 00 00 00 00 00 00 00 00 | ff ff ff ff ff ff ff ff |........|........|
|000036f0| 00 02 00 08 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003700| 00 00 00 00 00 24 00 00 | 00 24 01 b0 01 00 0a 00 |.....$..|.$......|
|00003710| 22 00 00 00 27 01 b0 20 | 00 24 00 00 00 24 01 b0 |"...'.. |.$...$..|
|00003720| ff 00 00 01 0d 00 00 06 | 00 00 0c 00 00 10 00 f3 |........|........|
|00003730| 54 68 69 73 20 73 65 63 | 74 69 6f 6e 20 64 65 73 |This sec|tion des|
|00003740| 63 72 69 62 65 73 20 76 | 65 63 74 6f 72 20 61 6e |cribes v|ector an|
|00003750| 69 6d 61 74 69 6f 6e 20 | 74 6f 6f 6c 6b 69 74 20 |imation |toolkit |
|00003760| 72 6f 75 74 69 6e 65 73 | 20 61 6e 64 20 68 6f 77 |routines| and how|
|00003770| 20 74 68 65 79 20 61 72 | 65 20 75 73 65 64 2e 20 | they ar|e used. |
|00003780| 49 6e 20 61 64 64 69 74 | 69 6f 6e 2c 20 74 68 65 |In addit|ion, the|
|00003790| 72 65 20 69 73 20 74 68 | 65 20 56 41 4d 6f 76 65 |re is th|e VAMove|
|000037a0| 54 6f 20 70 72 65 70 72 | 6f 63 65 73 73 6f 72 20 |To prepr|ocessor |
|000037b0| 6d 61 63 72 6f 20 74 68 | 61 74 20 65 6d 75 6c 61 |macro th|at emula|
|000037c0| 74 65 73 20 61 20 76 65 | 72 79 20 73 69 6d 70 6c |tes a ve|ry simpl|
|000037d0| 65 20 73 75 62 72 6f 75 | 74 69 6e 65 20 63 61 6c |e subrou|tine cal|
|000037e0| 6c 2e 20 49 74 20 69 73 | 20 64 65 73 63 72 69 62 |l. It is| describ|
|000037f0| 65 64 20 61 73 20 61 20 | 73 75 62 72 6f 75 74 69 |ed as a |subrouti|
|00003800| 6e 65 20 61 6c 74 68 6f | 75 67 68 20 69 74 20 61 |ne altho|ugh it a|
|00003810| 63 74 75 61 6c 6c 79 20 | 69 73 6e d5 74 20 6f 6e |ctually |isn.t on|
|00003820| 65 2e 0d 00 00 06 00 00 | 0c 00 00 10 00 01 0d 00 |e.......|........|
|00003830| 00 06 00 00 0c 00 00 10 | 00 01 0d 00 00 06 00 00 |........|........|
|00003840| 0c 00 00 10 00 1f 56 65 | 63 74 6f 72 20 41 6e 69 |......Ve|ctor Ani|
|00003850| 6d 61 74 69 6f 6e 20 54 | 6f 6f 6c 6b 69 74 20 43 |mation T|oolkit C|
|00003860| 61 6c 6c 73 0d 00 00 0c | 00 00 0e 01 00 10 00 1e |alls....|........|
|00003870| 0c 00 00 10 00 01 0d 00 | 00 06 00 00 0c 01 00 10 |........|........|
|00003880| 00 1e 76 6f 69 64 20 56 | 41 49 6e 69 74 28 47 44 |..void V|AInit(GD|
|00003890| 48 61 6e 64 6c 65 20 64 | 65 76 69 63 65 29 3b 0d |Handle d|evice);.|
|000038a0| 00 06 00 00 0c 01 00 10 | 00 14 76 6f 69 64 20 56 |........|..void V|
|000038b0| 41 43 6c 6f 73 65 28 76 | 6f 69 64 29 3b 0d 00 06 |AClose(v|oid);...|
|000038c0| 00 00 0c 01 00 10 00 1a | 76 6f 69 64 20 56 41 45 |........|void VAE|
|000038d0| 72 61 73 65 42 75 66 66 | 65 72 28 76 6f 69 64 29 |raseBuff|er(void)|
|000038e0| 3b 0d 00 06 00 00 0c 01 | 00 10 00 01 0d 00 00 06 |;.......|........|
|000038f0| 00 00 0c 00 00 10 00 01 | 0d 00 00 06 00 00 0c 00 |........|........|
|00003900| 00 10 01 e5 43 61 6c 6c | 20 56 41 49 6e 69 74 20 |....Call| VAInit |
|00003910| 6f 6e 6c 79 20 6f 6e 63 | 65 20 77 68 65 6e 20 79 |only onc|e when y|
|00003920| 6f 75 20 73 74 61 72 74 | 20 75 70 20 79 6f 75 72 |ou start| up your|
|00003930| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2e 20 59 6f | applica|tion. Yo|
|00003940| 75 20 73 65 6c 65 63 74 | 20 74 68 65 20 6d 6f 6e |u select| the mon|
|00003950| 69 74 6f 72 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |itor you| want to|
|00003960| 20 75 73 65 20 62 79 20 | 70 61 73 73 69 6e 67 20 | use by |passing |
|00003970| 61 20 67 72 61 70 68 69 | 63 73 20 64 65 76 69 63 |a graphi|cs devic|
|00003980| 65 20 68 61 6e 64 6c 65 | 2e 20 49 66 20 79 6f 75 |e handle|. If you|
|00003990| 20 6f 6e 6c 79 20 77 69 | 73 68 20 74 6f 20 75 73 | only wi|sh to us|
|000039a0| 65 20 74 68 65 20 6d 61 | 69 6e 20 73 63 72 65 65 |e the ma|in scree|
|000039b0| 6e 2c 20 75 73 65 20 56 | 41 49 6e 69 74 28 47 65 |n, use V|AInit(Ge|
|000039c0| 74 4d 61 69 6e 44 65 76 | 69 63 65 28 29 29 20 61 |tMainDev|ice()) a|
|000039d0| 6e 64 20 65 76 65 72 79 | 74 68 69 6e 67 20 73 68 |nd every|thing sh|
|000039e0| 6f 75 6c 64 20 62 65 20 | 66 69 6e 65 2e 20 46 6f |ould be |fine. Fo|
|000039f0| 72 20 70 75 62 6c 69 63 | 6c 79 20 64 69 73 74 72 |r public|ly distr|
|00003a00| 69 62 75 74 65 64 20 70 | 72 6f 67 72 61 6d 73 2c |ibuted p|rograms,|
|00003a10| 20 79 6f 75 20 6d 61 79 | 20 77 61 6e 74 20 74 6f | you may| want to|
|00003a20| 20 75 73 65 20 73 6f 6d | 65 20 73 63 72 65 65 6e | use som|e screen|
|00003a30| 20 73 65 6c 65 63 74 69 | 6f 6e 20 63 6f 64 65 2e | selecti|on code.|
|00003a40| 20 57 68 69 6c 65 20 6e | 6f 74 20 61 20 70 61 72 | While n|ot a par|
|00003a50| 74 20 6f 66 20 74 68 65 | 20 76 65 63 74 6f 72 20 |t of the| vector |
|00003a60| 61 6e 69 6d 61 74 69 6f | 6e 20 6b 69 74 2c 20 50 |animatio|n kit, P|
|00003a70| 72 6f 6a 65 63 74 20 53 | 54 4f 52 4d 20 68 61 73 |roject S|TORM has|
|00003a80| 20 61 20 70 72 6f 67 72 | 61 6d 20 74 68 61 74 20 | a progr|am that |
|00003a90| 70 75 74 73 20 61 20 77 | 69 6e 64 6f 77 20 6f 6e |puts a w|indow on|
|00003aa0| 20 65 76 65 72 79 20 73 | 63 72 65 65 6e 20 61 6e | every s|creen an|
|00003ab0| 64 20 61 6c 6c 6f 77 73 | 20 74 68 65 20 75 73 65 |d allows| the use|
|00003ac0| 72 20 74 6f 20 63 68 6f | 6f 73 65 20 61 20 73 63 |r to cho|ose a sc|
|00003ad0| 72 65 65 6e 20 77 69 74 | 68 20 61 20 6d 6f 75 73 |reen wit|h a mous|
|00003ae0| 65 20 63 6c 69 63 6b 2e | 0d 00 00 06 00 00 0c 00 |e click.|........|
|00003af0| 00 10 00 01 0d 00 00 06 | 00 00 0c 00 00 10 01 81 |........|........|
|00003b00| 56 41 43 6c 6f 73 65 20 | 64 6f 65 73 6e d5 74 20 |VAClose |doesn.t |
|00003b10| 63 75 72 72 65 6e 74 6c | 79 20 70 72 6f 70 65 72 |currentl|y proper|
|00003b20| 6c 79 20 64 65 61 6c 6c | 6f 63 61 74 65 20 73 74 |ly deall|ocate st|
|00003b30| 6f 72 61 67 65 2c 20 73 | 6f 20 79 6f 75 20 63 61 |orage, s|o you ca|
|00003b40| 6e d5 74 20 72 65 61 6c | 6c 79 20 74 6f 74 61 6c |n.t real|ly total|
|00003b50| 6c 79 20 63 6c 6f 73 65 | 20 74 68 65 20 6b 69 74 |ly close| the kit|
|00003b60| 2e 20 54 6f 20 74 65 6d | 70 6f 72 61 72 69 6c 79 |. To tem|porarily|
|00003b70| 20 75 73 65 20 6e 6f 72 | 6d 61 6c 20 74 6f 6f 6c | use nor|mal tool|
|00003b80| 62 6f 78 20 67 72 61 70 | 68 69 63 73 2c 20 68 69 |box grap|hics, hi|
|00003b90| 64 65 20 74 68 65 20 56 | 41 2e 77 69 6e 64 6f 77 |de the V|A.window|
|00003ba0| 20 61 6e 64 20 63 61 6c | 6c 20 56 41 43 6c 6f 73 | and cal|l VAClos|
|00003bb0| 65 20 74 6f 20 72 65 73 | 74 6f 72 65 20 74 68 65 |e to res|tore the|
|00003bc0| 20 6f 6c 64 20 63 6f 6c | 6f 72 20 6d 61 70 2e 20 | old col|or map. |
|00003bd0| 54 6f 20 72 65 73 74 61 | 72 74 2c 20 79 6f 75 20 |To resta|rt, you |
|00003be0| 6e 65 65 64 20 74 6f 20 | 73 68 6f 77 20 56 41 2e |need to |show VA.|
|00003bf0| 77 69 6e 64 6f 77 2c 20 | 72 65 73 65 74 20 69 74 |window, |reset it|
|00003c00| 73 20 76 69 73 52 67 6e | 20 74 6f 20 63 6f 6e 74 |s visRgn| to cont|
|00003c10| 61 69 6e 20 74 68 65 20 | 77 68 6f 6c 65 20 64 69 |ain the |whole di|
|00003c20| 73 70 6c 61 79 2c 20 63 | 61 6c 6c 20 56 41 45 72 |splay, c|all VAEr|
|00003c30| 61 73 65 42 75 66 66 65 | 72 20 74 6f 20 65 72 61 |aseBuffe|r to era|
|00003c40| 73 65 20 74 68 65 20 64 | 69 73 70 6c 61 79 20 61 |se the d|isplay a|
|00003c50| 6e 64 20 74 68 65 6e 20 | 56 41 53 74 65 70 20 74 |nd then |VAStep t|
|00003c60| 6f 20 72 65 73 74 6f 72 | 65 20 74 68 65 20 56 41 |o restor|e the VA|
|00003c70| 20 63 6f 6c 6f 72 20 6d | 61 70 70 69 6e 67 73 2e | color m|appings.|
|00003c80| 0d 00 00 06 00 00 0c 00 | 00 10 00 01 0d 00 00 06 |........|........|
|00003c90| 00 00 0c 00 00 10 00 24 | 76 6f 69 64 20 56 41 53 |.......$|void VAS|
|00003ca0| 65 74 43 6f 6c 6f 72 73 | 28 48 61 6e 64 6c 65 20 |etColors|(Handle |
|00003cb0| 74 68 65 43 6f 6c 6f 72 | 73 29 3b 0d 00 06 00 00 |theColor|s);.....|
|00003cc0| 0c 01 00 10 00 01 0d 00 | 00 06 00 00 0c 00 00 10 |........|........|
|00003cd0| 01 b3 55 73 65 20 56 41 | 53 65 74 43 6f 6c 6f 72 |..Use VA|SetColor|
|00003ce0| 73 20 74 6f 20 73 65 74 | 20 74 68 65 20 74 65 6e |s to set| the ten|
|00003cf0| 20 63 6f 6c 6f 72 73 20 | 74 68 61 74 20 61 72 65 | colors |that are|
|00003d00| 20 75 73 65 64 20 6f 6e | 20 74 68 65 20 73 63 72 | used on| the scr|
|00003d10| 65 65 6e 2e 20 46 6f 72 | 20 6d 6f 72 65 20 69 6e |een. For| more in|
|00003d20| 66 6f 72 6d 61 74 69 6f | 6e 20 6f 6e 20 74 68 65 |formatio|n on the|
|00003d30| 20 66 6f 72 6d 61 74 20 | 6f 66 20 74 68 65 20 70 | format |of the p|
|00003d40| 61 72 61 6d 65 74 65 72 | 2c 20 72 65 61 64 20 74 |arameter|, read t|
|00003d50| 68 65 20 70 72 65 76 69 | 6f 75 73 20 73 65 63 74 |he previ|ous sect|
|00003d60| 69 6f 6e 2e 20 59 6f 75 | 20 63 61 6e 20 63 61 6c |ion. You| can cal|
|00003d70| 6c 20 74 68 69 73 20 72 | 6f 75 74 69 6e 65 20 61 |l this r|outine a|
|00003d80| 74 20 61 6e 79 20 74 69 | 6d 65 20 61 66 74 65 72 |t any ti|me after|
|00003d90| 20 56 41 49 6e 69 74 2c | 20 62 75 74 20 69 74 20 | VAInit,| but it |
|00003da0| 74 68 65 20 63 6f 6c 6f | 72 20 63 68 61 6e 67 65 |the colo|r change|
|00003db0| 73 20 77 69 6c 6c 20 6f | 6e 6c 79 20 74 61 6b 65 |s will o|nly take|
|00003dc0| 20 65 66 66 65 63 74 20 | 77 68 65 6e 20 79 6f 75 | effect |when you|
|00003dd0| 20 63 61 6c 6c 20 56 41 | 53 74 65 70 2e 20 49 66 | call VA|Step. If|
|00003de0| 20 79 6f 75 20 6f 6e 6c | 79 20 6e 65 65 64 20 63 | you onl|y need c|
|00003df0| 6f 6c 6f 72 20 61 6e 69 | 6d 61 74 69 6f 6e 20 77 |olor ani|mation w|
|00003e00| 69 74 68 20 6e 6f 20 d2 | 72 65 61 6c d3 20 61 6e |ith no .|real. an|
|00003e10| 69 6d 61 74 69 6f 6e 2c | 20 74 61 6b 65 20 61 20 |imation,| take a |
|00003e20| 6c 6f 6f 6b 20 61 74 20 | 68 6f 77 20 56 41 53 74 |look at |how VASt|
|00003e30| 65 70 20 63 61 6c 6c 20 | 53 65 74 45 6e 74 72 69 |ep call |SetEntri|
|00003e40| 65 73 20 61 6e 64 20 64 | 6f 20 69 74 20 79 6f 75 |es and d|o it you|
|00003e50| 72 73 65 6c 66 20 74 6f | 20 63 68 61 6e 67 65 20 |rself to| change |
|00003e60| 6a 75 73 74 20 74 68 65 | 20 63 6f 6c 6f 72 20 74 |just the| color t|
|00003e70| 61 62 6c 65 20 6f 66 20 | 74 68 65 20 64 69 73 70 |able of |the disp|
|00003e80| 6c 61 79 2e 0d 00 00 06 | 00 00 0c 00 00 10 00 01 |lay.....|........|
|00003e90| 0d 00 00 06 00 00 0c 01 | 00 10 00 01 0d 00 00 06 |........|........|
|00003ea0| 00 00 0c 01 00 10 00 20 | 52 6f 75 74 69 6e 65 73 |....... |Routines|
|00003eb0| 20 54 68 61 74 20 55 73 | 65 20 44 69 73 70 6c 61 | That Us|e Displa|
|00003ec0| 79 20 4c 69 73 74 73 0d | 00 0c 00 00 0e 01 00 10 |y Lists.|........|
|00003ed0| 00 1f 0c 01 00 10 00 01 | 0d 00 00 06 00 00 0c 01 |........|........|
|00003ee0| 00 10 00 2d 76 6f 69 64 | 20 56 41 4c 69 6e 65 28 |...-void| VALine(|
|00003ef0| 69 6e 74 20 78 31 2c 20 | 69 6e 74 20 79 31 2c 20 |int x1, |int y1, |
|00003f00| 69 6e 74 20 78 32 2c 20 | 69 6e 74 20 79 32 29 3b |int x2, |int y2);|
|00003f10| 0d 00 00 06 00 00 0c 01 | 00 10 00 1d 76 6f 69 64 |........|....void|
|00003f20| 20 56 41 4d 6f 76 65 54 | 6f 28 69 6e 74 20 78 2c | VAMoveT|o(int x,|
|00003f30| 20 69 6e 74 20 79 29 3b | 0d 00 00 06 00 00 0c 01 | int y);|........|
|00003f40| 00 10 00 1d 76 6f 69 64 | 20 56 41 4c 69 6e 65 54 |....void| VALineT|
|00003f50| 6f 28 69 6e 74 20 78 2c | 20 69 6e 74 20 79 29 3b |o(int x,| int y);|
|00003f60| 0d 00 00 06 00 00 0c 01 | 00 10 00 21 76 6f 69 64 |........|...!void|
|00003f70| 20 56 41 53 61 66 65 4c | 69 6e 65 54 6f 28 69 6e | VASafeL|ineTo(in|
|00003f80| 74 20 78 2c 20 69 6e 74 | 20 79 29 3b 0d 00 00 06 |t x, int| y);....|
|00003f90| 00 00 0c 01 00 10 00 01 | 0d 00 00 06 00 00 0c 00 |........|........|
|00003fa0| 00 10 01 2c 54 68 65 73 | 65 20 61 72 65 20 74 68 |...,Thes|e are th|
|00003fb0| 65 20 66 6f 75 72 20 64 | 69 73 70 6c 61 79 20 6c |e four d|isplay l|
|00003fc0| 69 73 74 20 6c 69 6e 65 | 20 64 72 61 77 69 6e 67 |ist line| drawing|
|00003fd0| 20 63 6f 6d 6d 61 6e 64 | 73 2e 20 56 41 4c 69 6e | command|s. VALin|
|00003fe0| 65 20 74 61 6b 65 73 20 | 66 6f 75 72 20 70 61 72 |e takes |four par|
|00003ff0| 61 6d 65 74 65 72 73 20 | 61 6e 64 20 64 72 61 77 |ameters |and draw|
|00004000| 73 20 61 20 6c 69 6e 65 | 20 66 72 6f 6d 20 28 78 |s a line| from (x|
|00004010| 31 2c 79 31 29 20 74 6f | 20 28 78 32 2c 79 32 29 |1,y1) to| (x2,y2)|
|00004020| 2e 20 56 41 4d 6f 76 65 | 54 6f 20 69 73 20 69 6e |. VAMove|To is in|
|00004030| 20 72 65 61 6c 69 74 79 | 20 61 20 6d 61 63 72 6f | reality| a macro|
|00004040| 20 61 6e 64 20 69 74 20 | 73 69 6d 70 6c 79 20 6d | and it |simply m|
|00004050| 6f 76 65 73 20 74 68 65 | 20 63 75 72 72 65 6e 74 |oves the| current|
|00004060| 20 70 6f 69 6e 74 20 74 | 6f 20 63 6f 6f 72 64 69 | point t|o coordi|
|00004070| 6e 61 74 65 73 20 28 78 | 2c 79 29 20 77 69 74 68 |nates (x|,y) with|
|00004080| 6f 75 74 20 69 73 73 75 | 69 6e 67 20 61 6e 79 20 |out issu|ing any |
|00004090| 64 72 61 77 69 6e 67 20 | 63 6f 6d 6d 61 6e 64 73 |drawing |commands|
|000040a0| 2e 20 54 6f 20 64 72 61 | 77 20 6c 69 6e 65 73 2c |. To dra|w lines,|
|000040b0| 20 63 61 6c 6c 20 56 41 | 4c 69 6e 65 54 6f 20 6f | call VA|LineTo o|
|000040c0| 72 20 56 41 53 61 66 65 | 4c 69 6e 65 54 6f 2e 0d |r VASafe|LineTo..|
|000040d0| 00 06 00 00 0c 00 00 10 | 00 01 0d 00 00 06 00 00 |........|........|
|000040e0| 0c 00 00 10 01 98 55 6e | 6c 65 73 73 20 79 6f 75 |......Un|less you|
|000040f0| 20 75 73 65 20 74 68 65 | 20 d2 56 41 53 61 66 65 | use the| .VASafe|
|00004100| 4c 69 6e 65 54 6f d3 20 | 63 61 6c 6c 2c 20 79 6f |LineTo. |call, yo|
|00004110| 75 20 68 61 76 65 20 74 | 6f 20 6d 61 6b 65 20 63 |u have t|o make c|
|00004120| 65 72 74 61 69 6e 20 74 | 68 61 74 20 79 6f 75 20 |ertain t|hat you |
|00004130| 61 72 65 20 6e 6f 74 20 | 64 72 61 77 69 6e 67 20 |are not |drawing |
|00004140| 6f 75 74 73 69 64 65 20 | 74 68 65 20 64 69 73 70 |outside |the disp|
|00004150| 6c 79 61 20 66 72 61 6d | 65 20 28 69 6e 20 56 41 |lya fram|e (in VA|
|00004160| 2e 66 72 61 6d 65 29 2e | 20 44 72 61 77 69 6e 67 |.frame).| Drawing|
|00004170| 20 72 6f 75 74 69 6e 65 | 73 20 64 6f 20 6e 6f 74 | routine|s do not|
|00004180| 20 64 6f 20 61 6e 79 20 | 63 6c 69 70 70 69 6e 67 | do any |clipping|
|00004190| 2e 20 56 41 53 61 66 65 | 4c 69 6e 65 54 6f 20 64 |. VASafe|LineTo d|
|000041a0| 6f 65 73 6e d5 74 20 64 | 6f 20 61 6e 79 20 72 65 |oesn.t d|o any re|
|000041b0| 61 6c 20 63 6c 69 70 70 | 69 6e 67 20 65 69 74 68 |al clipp|ing eith|
|000041c0| 65 72 3a 20 69 74 20 6a | 75 73 74 20 64 69 73 63 |er: it j|ust disc|
|000041d0| 61 72 64 73 20 61 6e 79 | 20 6c 69 6e 65 73 20 74 |ards any| lines t|
|000041e0| 68 61 74 20 61 72 65 20 | 6f 75 74 73 69 64 65 20 |hat are |outside |
|000041f0| 74 68 65 20 66 72 61 6d | 65 2e 20 55 73 65 20 56 |the fram|e. Use V|
|00004200| 41 43 6c 69 70 20 74 6f | 20 63 6c 69 70 2c 20 69 |AClip to| clip, i|
|00004210| 66 20 79 6f 75 20 61 62 | 73 6f 6c 75 74 65 6c 79 |f you ab|solutely|
|00004220| 20 6d 75 73 74 2c 20 62 | 75 74 20 72 65 6d 65 6d | must, b|ut remem|
|00004230| 62 65 72 20 74 68 61 74 | 20 63 6c 69 70 70 69 6e |ber that| clippin|
|00004240| 67 20 63 61 6e 20 62 65 | 20 63 6f 73 74 6c 79 20 |g can be| costly |
|00004250| 61 6e 64 20 69 6e 20 6d | 6f 73 74 20 63 61 73 65 |and in m|ost case|
|00004260| 73 20 56 41 53 61 66 65 | 4c 69 6e 65 54 6f 20 69 |s VASafe|LineTo i|
|00004270| 73 20 73 75 66 66 69 63 | 69 65 6e 74 2e 0d 00 06 |s suffic|ient....|
|00004280| 00 00 0c 00 00 10 00 01 | 0d 00 00 06 00 00 0c 00 |........|........|
|00004290| 00 10 00 7c 55 73 65 20 | 56 41 2e 63 6f 6c 6f 72 |...|Use |VA.color|
|000042a0| 20 74 6f 20 73 65 74 20 | 74 68 65 20 63 6f 6c 6f | to set |the colo|
|000042b0| 72 20 6f 66 20 74 68 65 | 20 6c 69 6e 65 73 20 74 |r of the| lines t|
|000042c0| 6f 20 62 65 20 64 72 61 | 77 6e 2e 20 56 41 2e 6f |o be dra|wn. VA.o|
|000042d0| 66 66 73 65 74 20 61 6e | 64 20 56 41 2e 66 69 65 |ffset an|d VA.fie|
|000042e0| 6c 64 20 68 61 76 65 20 | 6e 6f 20 74 6f 20 61 6e |ld have |no to an|
|000042f0| 69 6d 61 74 69 6e 67 20 | 63 6f 6d 6d 61 6e 64 73 |imating |commands|
|00004300| 20 73 75 63 68 20 61 73 | 20 74 68 65 73 65 2e 0d | such as| these..|
|00004310| 00 06 00 00 0c 00 00 10 | 00 01 0d 00 00 06 00 00 |........|........|
|00004320| 0c 01 00 10 00 1b 76 6f | 69 64 20 56 41 49 6e 69 |......vo|id VAIni|
|00004330| 74 46 72 61 63 74 61 6c | 4c 69 6e 65 73 28 29 3b |tFractal|Lines();|
|00004340| 0d 00 00 06 00 00 0c 01 | 00 10 00 1c 76 6f 69 64 |........|....void|
|00004350| 20 56 41 43 6c 6f 73 65 | 46 72 61 63 74 61 6c 4c | VAClose|FractalL|
|00004360| 69 6e 65 73 28 29 3b 0d | 00 06 00 00 0c 01 00 10 |ines();.|........|
|00004370| 00 3b 76 6f 69 64 20 56 | 41 46 72 61 63 74 61 6c |.;void V|AFractal|
|00004380| 4c 69 6e 65 54 6f 28 69 | 6e 74 20 78 2c 20 69 6e |LineTo(i|nt x, in|
|00004390| 74 20 79 2c 20 69 6e 74 | 20 66 61 63 74 6f 72 2c |t y, int| factor,|
|000043a0| 20 69 6e 74 20 6c 65 76 | 65 6c 29 3b 0d 00 00 06 | int lev|el);....|
|000043b0| 00 00 0c 01 00 10 00 4b | 76 6f 69 64 20 56 41 46 |.......K|void VAF|
|000043c0| 72 61 63 74 61 6c 4c 69 | 6e 65 28 69 6e 74 20 78 |ractalLi|ne(int x|
|000043d0| 31 2c 20 69 6e 74 20 79 | 31 2c 20 69 6e 74 20 78 |1, int y|1, int x|
|000043e0| 32 2c 20 69 6e 74 20 79 | 32 2c 20 69 6e 74 20 66 |2, int y|2, int f|
|000043f0| 61 63 74 6f 72 2c 20 69 | 6e 74 20 6c 65 76 65 6c |actor, i|nt level|
|00004400| 29 3b 0d 00 00 06 00 00 | 0c 01 00 10 00 01 0d 00 |);......|........|
|00004410| 00 06 00 00 0c 01 00 10 | 01 44 46 72 61 63 74 61 |........|.DFracta|
|00004420| 6c 20 6c 69 6e 65 73 20 | 73 68 6f 75 6c 64 20 62 |l lines |should b|
|00004430| 65 20 75 73 65 64 20 77 | 69 74 68 20 63 61 72 65 |e used w|ith care|
|00004440| 2c 20 73 69 6e 63 65 20 | 74 68 65 79 20 70 72 6f |, since |they pro|
|00004450| 64 75 63 65 20 61 20 6e | 75 6d 62 65 72 20 6f 66 |duce a n|umber of|
|00004460| 20 6e 6f 72 6d 61 6c 20 | 6c 69 6e 65 73 20 28 32 | normal |lines (2|
|00004470| 5e 6c 65 76 65 6c 2c 20 | 74 6f 20 62 65 20 65 78 |^level, |to be ex|
|00004480| 61 63 74 29 2e 20 59 6f | 75 20 73 68 6f 75 6c 64 |act). Yo|u should|
|00004490| 20 6f 70 65 6e 20 74 68 | 65 20 66 72 61 63 74 61 | open th|e fracta|
|000044a0| 6c 20 6c 69 6e 65 20 70 | 61 63 6b 61 67 65 20 62 |l line p|ackage b|
|000044b0| 65 66 6f 72 65 20 75 73 | 69 6e 67 20 69 74 20 61 |efore us|ing it a|
|000044c0| 6e 64 20 79 6f 75 20 73 | 68 6f 75 6c 64 20 63 6c |nd you s|hould cl|
|000044d0| 6f 73 65 20 69 74 20 77 | 68 65 6e 20 79 6f 75 20 |ose it w|hen you |
|000044e0| 61 72 65 20 64 6f 6e 65 | 2e 20 28 59 6f 75 20 63 |are done|. (You c|
|000044f0| 61 6e 20 6f 70 65 6e 20 | 61 6e 64 20 63 6c 6f 73 |an open |and clos|
|00004500| 65 20 74 68 65 20 70 61 | 63 6b 61 67 65 20 61 6e |e the pa|ckage an|
|00004510| 79 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 69 6d 65 |y number| of time|
|00004520| 73 2c 20 62 75 74 20 6f | 6e 6c 79 20 74 68 65 20 |s, but o|nly the |
|00004530| 66 69 72 73 74 20 6f 70 | 65 6e 20 61 6e 64 20 6c |first op|en and l|
|00004540| 61 73 74 20 63 6c 6f 73 | 65 20 77 69 6c 6c 20 62 |ast clos|e will b|
|00004550| 65 20 65 66 66 65 63 74 | 69 76 65 2e 29 0d 00 06 |e effect|ive.)...|
|00004560| 00 00 0c 00 00 10 00 01 | 0d 00 00 06 00 00 0c 00 |........|........|
|00004570| 00 10 00 bb 54 68 65 20 | 66 61 63 74 6f 72 20 61 |....The |factor a|
|00004580| 72 67 75 6d 65 6e 74 20 | 6f 66 20 74 68 65 20 6c |rgument |of the l|
|00004590| 69 6e 65 20 64 65 74 65 | 72 6d 69 6e 65 73 20 68 |ine dete|rmines h|
|000045a0| 6f 77 20 77 72 69 6e 6b | 6c 65 64 20 74 68 65 20 |ow wrink|led the |
|000045b0| 6c 69 6e 65 20 61 70 70 | 65 61 72 73 2e 20 41 20 |line app|ears. A |
|000045c0| 73 6d 61 6c 6c 65 72 20 | 6e 75 6d 62 65 72 20 77 |smaller |number w|
|000045d0| 69 6c 6c 20 70 72 6f 64 | 75 63 65 20 6d 6f 72 65 |ill prod|uce more|
|000045e0| 20 77 72 69 6e 6b 6c 65 | 64 20 6c 69 6e 65 73 2e | wrinkle|d lines.|
|000045f0| 20 55 73 65 20 31 32 38 | 20 61 73 20 61 6e 20 69 | Use 128| as an i|
|00004600| 6e 69 74 69 61 6c 20 67 | 75 65 73 73 20 61 6e 64 |nitial g|uess and|
|00004610| 20 63 68 61 6e 67 65 20 | 69 74 20 74 6f 20 73 75 | change |it to su|
|00004620| 69 74 20 79 6f 75 72 20 | 6e 65 65 64 73 2e 0d 00 |it your |needs...|
|00004630| 00 0c 00 00 0c 00 00 10 | 00 ba 0c 01 00 10 00 01 |........|........|
|00004640| 0d 00 00 06 00 00 0c 01 | 00 10 00 1b 76 6f 69 64 |........|....void|
|00004650| 20 56 41 50 69 78 65 6c | 28 69 6e 74 20 78 2c 69 | VAPixel|(int x,i|
|00004660| 6e 74 20 79 29 3b 0d 00 | 00 06 00 00 0c 01 00 10 |nt y);..|........|
|00004670| 00 20 76 6f 69 64 20 56 | 41 53 61 66 65 50 69 78 |. void V|ASafePix|
|00004680| 65 6c 28 69 6e 74 20 78 | 2c 20 69 6e 74 20 79 29 |el(int x|, int y)|
|00004690| 3b 0d 00 06 00 00 0c 01 | 00 10 00 01 0d 00 00 06 |;.......|........|
|000046a0| 00 00 0c 00 00 10 00 6b | 54 68 65 73 65 20 72 6f |.......k|These ro|
|000046b0| 75 74 69 6e 65 73 20 64 | 72 61 77 20 61 6e 69 6d |utines d|raw anim|
|000046c0| 61 74 65 64 20 73 69 6e | 67 6c 65 20 70 69 78 65 |ated sin|gle pixe|
|000046d0| 6c 73 20 61 6e 64 20 68 | 61 76 65 20 6e 6f 20 65 |ls and h|ave no e|
|000046e0| 66 66 65 63 74 20 6f 6e | 20 6c 69 6e 65 20 64 72 |ffect on| line dr|
|000046f0| 61 77 69 6e 67 20 28 74 | 68 65 79 20 64 6f 20 4e |awing (t|hey do N|
|00004700| 4f 54 20 64 6f 20 61 20 | 56 41 4d 6f 76 65 54 6f |OT do a |VAMoveTo|
|00004710| 29 2e 0d 00 00 06 00 00 | 0c 00 00 10 00 01 0d 00 |).......|........|
|00004720| 00 06 00 00 0c 01 00 10 | 00 1a 76 6f 69 64 20 56 |........|..void V|
|00004730| 41 53 70 6f 74 28 69 6e | 74 20 78 2c 69 6e 74 20 |ASpot(in|t x,int |
|00004740| 79 29 3b 0d 00 06 00 00 | 0c 01 00 10 00 1e 76 6f |y);.....|......vo|
|00004750| 69 64 20 56 41 53 61 66 | 65 53 70 6f 74 28 69 6e |id VASaf|eSpot(in|
|00004760| 74 20 78 2c 69 6e 74 20 | 79 29 3b 0d 00 06 00 00 |t x,int |y);.....|
|00004770| 0c 01 00 10 00 01 0d 00 | 00 06 00 00 0c 00 00 10 |........|........|
|00004780| 00 31 53 70 6f 74 73 20 | 61 72 65 20 67 72 6f 75 |.1Spots |are grou|
|00004790| 70 73 20 6f 66 20 35 20 | 70 69 78 65 6c 73 20 61 |ps of 5 |pixels a|
|000047a0| 72 72 61 6e 67 65 64 20 | 6c 69 6b 65 20 74 68 69 |rranged |like thi|
|000047b0| 73 3a 0d 00 00 06 00 00 | 0c 00 00 10 00 22 00 22 |s:......|....."."|
|000047c0| 00 33 00 33 02 09 00 22 | 00 22 00 33 00 33 11 01 |.3.3..."|.".3.3..|
|000047d0| a1 00 64 00 0a 46 57 52 | 54 00 0b 00 d8 00 d8 a0 |..d..FWR|T.......|
|000047e0| 00 8c a1 00 64 00 38 46 | 57 52 54 00 01 03 d8 00 |....d.8F|WRT.....|
|000047f0| 01 00 11 ff ff ff ff ff | ff ff ff 00 00 00 00 00 |........|........|
|00004800| 00 00 00 00 02 00 08 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004810| 00 00 00 00 00 00 00 00 | 28 00 24 00 2d 00 29 01 |........|(.$.-.).|
|00004820| 00 0a 00 22 00 22 00 33 | 00 33 31 00 29 00 25 00 |...".".3|.31.).%.|
|00004830| 2c 00 28 09 00 00 00 00 | 00 00 00 00 30 00 28 00 |,.(.....|....0.(.|
|00004840| 24 00 2d 00 29 a1 00 64 | 00 38 46 57 52 54 00 01 |$.-.)..d|.8FWRT..|
|00004850| 03 d8 00 01 00 11 ff ff | ff ff ff ff ff ff 00 00 |........|........|
|00004860| 00 00 00 00 00 00 00 02 | 00 08 00 00 00 00 00 00 |........|........|
|00004870| 00 00 00 00 00 00 00 00 | 00 00 00 28 00 28 00 2d |........|...(.(.-|
|00004880| 00 2d 09 ff ff ff ff ff | ff ff ff 31 00 29 00 29 |.-......|...1.).)|
|00004890| 00 2c 00 2c 09 00 00 00 | 00 00 00 00 00 30 00 28 |.,.,....|.....0.(|
|000048a0| 00 28 00 2d 00 2d a1 00 | 64 00 38 46 57 52 54 00 |.(.-.-..|d.8FWRT.|
|000048b0| 01 03 d8 00 01 00 11 ff | ff ff ff ff ff ff ff 00 |........|........|
|000048c0| 00 00 00 00 00 00 00 00 | 02 00 08 00 00 00 00 00 |........|........|
|000048d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 28 00 2c 00 |........|....(.,.|
|000048e0| 2d 00 31 09 ff ff ff ff | ff ff ff ff 31 00 29 00 |-.1.....|....1.).|
|000048f0| 2d 00 2c 00 30 09 00 00 | 00 00 00 00 00 00 30 00 |-.,.0...|......0.|
|00004900| 28 00 2c 00 2d 00 31 a1 | 00 64 00 38 46 57 52 54 |(.,.-.1.|.d.8FWRT|
|00004910| 00 01 03 12 00 01 00 11 | ff ff ff ff ff ff ff ff |........|........|
|00004920| 00 00 00 00 00 00 00 00 | 00 02 00 08 00 00 00 00 |........|........|
|00004930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 24 00 28 |........|.....$.(|
|00004940| 00 29 00 2d 09 ff ff ff | ff ff ff ff ff 31 00 25 |.).-....|.....1.%|
|00004950| 00 29 00 28 00 2c 09 00 | 00 00 00 00 00 00 00 30 |.).(.,..|.......0|
|00004960| 00 24 00 28 00 29 00 2d | a1 00 64 00 38 46 57 52 |.$.(.).-|..d.8FWR|
|00004970| 54 00 01 03 12 00 01 00 | 11 ff ff ff ff ff ff ff |T.......|........|
|00004980| ff 00 00 00 00 00 00 00 | 00 00 02 00 08 00 00 00 |........|........|
|00004990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 2c 00 |........|......,.|
|000049a0| 28 00 31 00 2d 09 ff ff | ff ff ff ff ff ff 31 00 |(.1.-...|......1.|
|000049b0| 2d 00 29 00 30 00 2c 09 | 00 00 00 00 00 00 00 00 |-.).0.,.|........|
|000049c0| 30 00 2c 00 28 00 31 00 | 2d a0 00 8d ff 00 00 2e |0.,.(.1.|-.......|
|000049d0| 20 4f 74 68 65 72 77 69 | 73 65 20 73 70 6f 74 73 | Otherwi|se spots|
|000049e0| 20 77 6f 72 6b 20 6a 75 | 73 74 20 74 68 65 20 77 | work ju|st the w|
|000049f0| 61 79 20 70 69 78 65 6c | 73 20 64 6f 2e 0d 00 06 |ay pixel|s do....|
|00004a00| 00 00 0c 00 00 10 00 01 | 0d 00 00 06 00 00 0c 01 |........|........|
|00004a10| 00 10 00 35 76 6f 69 64 | 20 56 41 45 78 70 6c 6f |...5void| VAExplo|
|00004a20| 73 69 6f 6e 28 69 6e 74 | 20 78 2c 20 69 6e 74 20 |sion(int| x, int |
|00004a30| 79 2c 20 69 6e 74 20 73 | 69 7a 65 2c 20 69 6e 74 |y, int s|ize, int|
|00004a40| 20 63 6f 6c 6f 72 29 3b | 0d 00 00 06 00 00 0c 01 | color);|........|
|00004a50| 00 10 00 01 0d 00 00 06 | 00 00 0c 00 00 10 01 75 |........|.......u|
|00004a60| 43 61 6c 6c 20 56 41 45 | 78 70 6c 6f 73 69 6f 6e |Call VAE|xplosion|
|00004a70| 20 74 6f 20 73 74 61 72 | 74 20 61 20 66 69 72 65 | to star|t a fire|
|00004a80| 77 6f 72 6b 73 2d 6c 69 | 6b 65 20 65 78 70 6c 6f |works-li|ke explo|
|00004a90| 73 69 6f 6e 20 61 74 20 | 28 78 2c 79 29 2e 20 44 |sion at |(x,y). D|
|00004aa0| 72 61 77 69 6e 67 20 69 | 73 20 63 6c 69 70 70 65 |rawing i|s clippe|
|00004ab0| 64 20 74 6f 20 74 68 65 | 20 73 63 72 65 65 6e 20 |d to the| screen |
|00004ac0| 66 72 61 6d 65 2c 20 73 | 6f 20 79 6f 75 20 61 72 |frame, s|o you ar|
|00004ad0| 65 20 73 61 66 65 20 74 | 6f 20 63 61 6c 6c 20 74 |e safe t|o call t|
|00004ae0| 68 69 73 20 72 6f 75 74 | 69 6e 65 20 77 69 74 68 |his rout|ine with|
|00004af0| 20 61 6e 79 20 28 78 2c | 79 29 2e 20 54 68 65 72 | any (x,|y). Ther|
|00004b00| 65 20 61 72 65 20 63 75 | 72 72 65 6e 74 6c 79 20 |e are cu|rrently |
|00004b10| 34 20 64 69 66 66 65 72 | 65 6e 74 20 73 69 7a 65 |4 differ|ent size|
|00004b20| 73 20 6f 66 20 65 78 70 | 6c 6f 73 69 6f 6e 73 20 |s of exp|losions |
|00004b30| 6e 75 6d 62 65 72 65 64 | 20 66 72 6f 6d 20 30 20 |numbered| from 0 |
|00004b40| 74 6f 20 33 2e 20 54 68 | 65 20 73 74 61 6e 64 61 |to 3. Th|e standa|
|00004b50| 72 64 20 65 78 70 6c 6f | 73 69 6f 6e 73 20 61 72 |rd explo|sions ar|
|00004b60| 65 20 72 65 61 64 20 66 | 72 6f 6d 20 61 20 73 65 |e read f|rom a se|
|00004b70| 74 20 6f 66 20 72 65 73 | 6f 75 72 63 65 73 2e 20 |t of res|ources. |
|00004b80| 4e 65 77 20 65 78 70 6c | 6f 73 69 6f 6e 73 20 63 |New expl|osions c|
|00004b90| 61 6e 20 62 65 20 63 72 | 65 61 74 65 64 20 62 79 |an be cr|eated by|
|00004ba0| 20 6d 6f 64 69 66 79 69 | 6e 67 20 74 68 65 20 73 | modifyi|ng the s|
|00004bb0| 75 70 70 6c 69 65 64 20 | 73 6f 75 72 63 65 20 63 |upplied |source c|
|00004bc0| 6f 64 65 20 69 6e 20 45 | 78 70 6c 6f 73 69 6f 6e |ode in E|xplosion|
|00004bd0| 2e 63 2e 20 0d 00 00 06 | 00 00 0c 00 00 10 00 02 |.c. ....|........|
|00004be0| 20 0d 00 0c 00 00 0c 00 | 00 10 00 01 0c 01 00 10 | .......|........|
|00004bf0| 00 13 76 6f 69 64 20 56 | 41 53 74 65 70 28 76 6f |..void V|AStep(vo|
|00004c00| 69 64 29 3b 0d 00 00 06 | 00 00 0c 01 00 10 00 01 |id);....|........|
|00004c10| 0d 00 00 06 00 00 0c 00 | 00 10 01 c6 56 41 53 74 |........|....VASt|
|00004c20| 65 70 20 64 6f 65 73 20 | 61 6c 6c 20 74 68 65 20 |ep does |all the |
|00004c30| 68 61 72 64 20 77 6f 72 | 6b 2e 20 49 66 20 69 74 |hard wor|k. If it|
|00004c40| 20 68 61 73 20 74 69 6d | 65 2c 20 69 74 20 66 69 | has tim|e, it fi|
|00004c50| 72 73 74 20 64 72 61 77 | 73 20 6e 65 77 20 67 72 |rst draw|s new gr|
|00004c60| 61 70 68 69 63 73 20 6f | 6e 20 74 68 65 20 68 69 |aphics o|n the hi|
|00004c70| 64 64 65 6e 20 66 6f 72 | 65 67 72 6f 75 6e 64 20 |dden for|eground |
|00004c80| 62 75 66 66 65 72 2c 20 | 64 69 73 70 6c 61 79 73 |buffer, |displays|
|00004c90| 20 74 68 69 73 20 62 75 | 66 66 65 72 20 62 79 20 | this bu|ffer by |
|00004ca0| 63 61 6c 6c 69 6e 67 20 | 53 65 74 45 6e 74 72 69 |calling |SetEntri|
|00004cb0| 65 73 20 61 6e 64 20 74 | 68 65 6e 20 65 72 61 73 |es and t|hen eras|
|00004cc0| 65 73 20 67 72 61 70 68 | 69 63 73 20 6f 6e 20 74 |es graph|ics on t|
|00004cd0| 68 65 20 6e 6f 77 20 68 | 69 64 64 65 6e 20 73 63 |he now h|idden sc|
|00004ce0| 72 65 65 6e 2e 20 54 68 | 69 6e 6b 20 6f 66 20 74 |reen. Th|ink of t|
|00004cf0| 68 69 73 20 72 6f 75 74 | 69 6e 65 20 61 73 20 74 |his rout|ine as t|
|00004d00| 68 65 20 61 6e 61 6c 6f | 67 20 6f 66 20 46 6c 75 |he analo|g of Flu|
|00004d10| 73 68 28 29 2e 20 59 6f | 75 20 6e 65 65 64 20 74 |sh(). Yo|u need t|
|00004d20| 6f 20 63 61 6c 6c 20 69 | 74 20 65 76 65 72 79 20 |o call i|t every |
|00004d30| 74 69 6d 65 20 79 6f 75 | 20 73 74 61 72 74 20 61 |time you| start a|
|00004d40| 20 6e 65 77 20 61 6e 69 | 6d 61 74 69 6f 6e 20 d2 | new ani|mation .|
|00004d50| 74 69 63 6b d3 2e 20 56 | 41 53 74 65 70 20 67 6f |tick.. V|AStep go|
|00004d60| 65 73 20 69 6e 74 6f 20 | 61 20 77 61 69 74 69 6e |es into |a waitin|
|00004d70| 67 20 6c 6f 6f 70 20 69 | 66 20 69 74 20 64 65 74 |g loop i|f it det|
|00004d80| 65 63 74 73 20 74 68 65 | 20 61 6e 69 6d 61 74 69 |ects the| animati|
|00004d90| 6f 6e 20 69 73 20 72 75 | 6e 6e 69 6e 67 20 74 6f |on is ru|nning to|
|00004da0| 6f 20 71 75 69 63 6b 6c | 79 2e 20 49 6e 20 6d 6f |o quickl|y. In mo|
|00004db0| 73 74 20 63 61 73 65 73 | 20 69 74 20 64 6f 65 73 |st cases| it does|
|00004dc0| 20 69 74 73 20 6a 6f 62 | 20 61 6e 64 20 72 65 74 | its job| and ret|
|00004dd0| 75 72 6e 73 20 69 6d 6d | 65 64 69 61 74 65 6c 79 |urns imm|ediately|
|00004de0| 2e 0d 00 06 00 00 0c 00 | 00 10 00 01 0d 00 00 06 |........|........|
|00004df0| 00 00 0c 00 00 10 00 e6 | 59 6f 75 20 63 61 6e 20 |........|You can |
|00004e00| 63 68 61 6e 67 65 20 74 | 68 65 20 70 61 63 65 20 |change t|he pace |
|00004e10| 6f 66 20 74 68 65 20 61 | 6e 69 6d 61 74 69 6f 6e |of the a|nimation|
|00004e20| 20 62 79 20 63 68 61 6e | 67 69 6e 67 20 56 41 2e | by chan|ging VA.|
|00004e30| 46 72 61 6d 65 53 70 65 | 65 64 2e 20 54 68 65 20 |FrameSpe|ed. The |
|00004e40| 74 69 6d 65 20 61 6c 6c | 6f 63 61 74 65 64 20 66 |time all|ocated f|
|00004e50| 6f 72 20 6f 6e 65 20 66 | 72 61 6d 65 20 69 73 20 |or one f|rame is |
|00004e60| 56 41 2e 46 72 61 6d 65 | 53 70 65 65 64 2f 36 30 |VA.Frame|Speed/60|
|00004e70| 20 73 65 63 6f 6e 64 73 | 2e 20 55 73 75 61 6c 6c | seconds|. Usuall|
|00004e80| 79 20 32 30 20 66 72 61 | 6d 65 73 20 70 65 72 20 |y 20 fra|mes per |
|00004e90| 73 65 63 6f 6e 64 20 69 | 73 20 71 75 69 74 65 20 |second i|s quite |
|00004ea0| 73 75 66 66 69 63 69 65 | 6e 74 2c 20 73 6f 20 61 |sufficie|nt, so a|
|00004eb0| 20 64 65 66 61 75 6c 74 | 20 76 61 6c 75 65 20 6f | default| value o|
|00004ec0| 66 20 33 20 69 73 20 69 | 6e 69 74 69 61 6c 69 7a |f 3 is i|nitializ|
|00004ed0| 65 64 20 69 6e 20 56 41 | 49 6e 69 74 2e 0d 00 06 |ed in VA|Init....|
|00004ee0| 00 00 0c 00 00 10 00 01 | 0d 00 00 06 00 00 0c 00 |........|........|
|00004ef0| 00 10 00 16 76 6f 69 64 | 20 56 41 43 61 74 63 68 |....void| VACatch|
|00004f00| 55 70 28 76 6f 69 64 29 | 3b 0d 00 06 00 00 0c 01 |Up(void)|;.......|
|00004f10| 00 10 00 01 0d 00 00 06 | 00 00 0c 00 00 10 01 14 |........|........|
|00004f20| 56 41 43 61 74 63 68 55 | 70 20 63 61 6e 20 62 65 |VACatchU|p can be|
|00004f30| 20 63 61 6c 6c 65 64 20 | 61 66 74 65 72 20 61 20 | called |after a |
|00004f40| 74 69 6d 65 2d 63 6f 6e | 73 75 6d 69 6e 67 20 6f |time-con|suming o|
|00004f50| 70 65 72 61 74 69 6f 6e | 20 77 68 65 6e 20 79 6f |peration| when yo|
|00004f60| 75 20 77 69 73 68 20 74 | 6f 20 63 6f 6e 74 69 6e |u wish t|o contin|
|00004f70| 75 65 20 77 69 74 68 20 | 73 6d 6f 6f 74 68 20 61 |ue with |smooth a|
|00004f80| 6e 69 6d 61 74 69 6f 6e | 2e 20 54 68 69 73 20 72 |nimation|. This r|
|00004f90| 6f 75 74 69 6e 65 20 72 | 65 73 65 74 73 20 61 6c |outine r|esets al|
|00004fa0| 6c 20 74 69 6d 65 72 73 | 20 74 6f 20 73 75 63 68 |l timers| to such|
|00004fb0| 20 76 61 6c 75 65 73 20 | 74 68 61 74 20 74 68 65 | values |that the|
|00004fc0| 20 6e 65 78 74 20 66 72 | 61 6d 65 20 77 69 6c 6c | next fr|ame will|
|00004fd0| 20 62 65 20 64 72 61 77 | 6e 20 61 6e 64 20 74 68 | be draw|n and th|
|00004fe0| 65 20 61 6e 69 6d 61 74 | 69 6f 6e 20 73 79 73 74 |e animat|ion syst|
|00004ff0| 65 6d 20 64 6f 65 73 6e | d5 74 20 63 6f 6e 73 69 |em doesn|.t consi|
|00005000| 64 65 72 20 69 74 73 65 | 6c 66 20 62 65 69 6e 67 |der itse|lf being|
|00005010| 20 d2 6c 61 74 65 d3 2e | 20 49 74 20 64 6f 65 73 | .late..| It does|
|00005020| 6e d5 74 20 64 6f 20 61 | 6e 79 20 64 72 61 77 69 |n.t do a|ny drawi|
|00005030| 6e 67 2e 0d 00 06 00 00 | 0c 00 00 10 00 01 0d 00 |ng......|........|
|00005040| 00 06 00 00 0c 00 00 10 | 00 01 0d 00 00 06 00 00 |........|........|
|00005050| 0c 00 00 10 00 01 0d 00 | 00 06 00 00 0c 00 00 10 |........|........|
|00005060| 00 01 0d 00 00 06 00 00 | 0c 00 00 10 00 01 0d 00 |........|........|
|00005070| 00 06 00 00 0c 00 00 10 | 00 01 0d 00 00 06 00 00 |........|........|
|00005080| 0c 00 00 10 00 01 0d 00 | 00 06 00 00 0c 00 00 10 |........|........|
|00005090| 00 14 42 61 63 6b 67 72 | 6f 75 6e 64 20 47 72 61 |..Backgr|ound Gra|
|000050a0| 70 68 69 63 73 0d 00 0c | 00 00 0e 01 00 10 00 13 |phics...|........|
|000050b0| 0c 00 00 10 00 01 0d 00 | 00 06 00 00 0c 00 00 10 |........|........|
|000050c0| 00 ee 54 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |..The fo|llowing |
|000050d0| 74 77 6f 20 63 61 6c 6c | 73 20 61 72 65 20 75 73 |two call|s are us|
|000050e0| 65 64 20 66 6f 72 20 62 | 61 63 6b 67 72 6f 75 6e |ed for b|ackgroun|
|000050f0| 64 20 67 72 61 70 68 69 | 63 73 2e 20 54 68 65 79 |d graphi|cs. They|
|00005100| 20 64 6f 20 6e 6f 74 20 | 61 66 66 65 63 74 20 74 | do not |affect t|
|00005110| 68 65 20 64 69 73 70 6c | 61 79 20 6c 69 73 74 73 |he displ|ay lists|
|00005120| 20 61 6e 64 20 64 72 61 | 77 20 69 6d 6d 65 64 69 | and dra|w immedi|
|00005130| 61 74 65 6c 79 20 62 65 | 66 6f 72 65 20 64 72 61 |ately be|fore dra|
|00005140| 77 69 6e 67 2e 20 54 6f | 20 73 65 74 20 74 68 65 |wing. To| set the|
|00005150| 20 63 6f 6c 6f 72 20 79 | 6f 75 20 77 69 73 68 20 | color y|ou wish |
|00005160| 74 6f 20 64 72 61 77 20 | 69 6e 2c 20 79 6f 75 20 |to draw |in, you |
|00005170| 68 61 76 65 20 74 6f 20 | 73 65 74 20 56 41 2e 63 |have to |set VA.c|
|00005180| 6f 6c 6f 72 2c 20 56 41 | 2e 6f 66 66 73 65 74 20 |olor, VA|.offset |
|00005190| 61 6e 64 20 56 41 2e 66 | 69 65 6c 64 20 74 6f 20 |and VA.f|ield to |
|000051a0| 63 6f 72 72 65 63 74 20 | 76 61 6c 75 65 73 2e 0d |correct |values..|
|000051b0| 00 06 00 00 0c 00 00 10 | 00 01 0d 00 00 06 00 00 |........|........|
|000051c0| 0c 01 00 10 00 2b 76 6f | 69 64 20 56 41 44 72 61 |.....+vo|id VADra|
|000051d0| 77 4e 75 6d 62 65 72 28 | 6c 6f 6e 67 20 6e 75 6d |wNumber(|long num|
|000051e0| 2c 20 69 6e 74 20 78 2c | 20 69 6e 74 20 79 29 3b |, int x,| int y);|
|000051f0| 0d 00 00 0c 00 00 0c 01 | 00 10 00 2a 0c 00 00 10 |........|...*....|
|00005200| 00 01 0d 00 00 06 00 00 | 0c 00 00 10 01 69 56 41 |........|.....iVA|
|00005210| 44 72 61 77 4e 75 6d 62 | 65 72 20 64 72 61 77 73 |DrawNumb|er draws|
|00005220| 20 61 20 6c 6f 6e 67 20 | 69 6e 74 65 67 65 72 20 | a long |integer |
|00005230| 61 73 20 61 20 37 2d 73 | 65 67 6d 65 6e 74 20 73 |as a 7-s|egment s|
|00005240| 74 79 6c 65 20 6e 75 6d | 62 65 72 2e 20 54 68 65 |tyle num|ber. The|
|00005250| 20 63 6f 6f 72 64 69 6e | 61 74 65 73 20 61 72 65 | coordin|ates are|
|00005260| 20 66 6f 72 20 74 68 65 | 20 62 6f 74 74 6f 6d 20 | for the| bottom |
|00005270| 6c 65 66 74 20 63 6f 72 | 6e 65 72 20 6f 66 20 74 |left cor|ner of t|
|00005280| 68 65 20 72 69 67 68 74 | 6d 6f 73 74 20 64 69 67 |he right|most dig|
|00005290| 69 74 2e 20 54 68 65 20 | 68 65 69 67 68 74 20 6f |it. The |height o|
|000052a0| 66 20 74 68 65 20 6e 75 | 6d 62 65 72 20 69 73 20 |f the nu|mber is |
|000052b0| 32 2a 56 41 2e 73 65 67 | 6d 73 63 61 6c 65 2b 33 |2*VA.seg|mscale+3|
|000052c0| 20 61 6e 64 20 61 20 73 | 69 6e 67 6c 65 20 64 69 | and a s|ingle di|
|000052d0| 67 69 74 20 69 73 20 56 | 41 2e 73 65 67 6d 73 63 |git is V|A.segmsc|
|000052e0| 61 6c 65 2b 35 20 77 69 | 64 65 2e 20 54 68 65 20 |ale+5 wi|de. The |
|000052f0| 6f 6e 6c 79 20 63 6c 69 | 70 70 69 6e 67 20 69 73 |only cli|pping is|
|00005300| 20 61 67 61 69 6e 73 20 | 74 68 65 20 6c 65 66 74 | agains |the left|
|00005310| 20 62 6f 72 64 65 72 20 | 6f 66 20 74 68 65 20 64 | border |of the d|
|00005320| 69 73 70 6c 61 79 2e 20 | 59 6f 75 20 68 61 76 65 |isplay. |You have|
|00005330| 20 74 6f 20 62 65 20 63 | 61 72 65 66 75 6c 20 6e | to be c|areful n|
|00005340| 6f 74 20 74 6f 20 64 72 | 61 77 20 61 62 6f 76 65 |ot to dr|aw above|
|00005350| 2c 20 62 65 6c 6f 77 20 | 6f 72 20 72 69 67 68 74 |, below |or right|
|00005360| 20 6f 66 20 74 68 65 20 | 64 69 73 70 6c 61 79 20 | of the |display |
|00005370| 66 72 61 6d 65 2e 0d 00 | 00 06 00 00 0c 00 00 10 |frame...|........|
|00005380| 00 01 0d 00 00 06 00 00 | 0c 01 00 10 00 34 76 6f |........|.....4vo|
|00005390| 69 64 20 56 41 44 72 61 | 77 54 65 78 74 28 63 68 |id VADra|wText(ch|
|000053a0| 61 72 20 2a 74 65 78 74 | 2c 20 69 6e 74 20 73 74 |ar *text|, int st|
|000053b0| 61 72 74 2c 20 69 6e 74 | 20 6c 65 6e 67 74 68 29 |art, int| length)|
|000053c0| 3b 0d 00 06 00 00 0c 01 | 00 10 00 01 0d 00 00 06 |;.......|........|
|000053d0| 00 00 0c 01 00 10 01 38 | 56 41 44 72 61 77 54 65 |.......8|VADrawTe|
|000053e0| 78 74 20 69 73 20 61 6e | 61 6c 6f 67 75 6f 75 73 |xt is an|aloguous|
|000053f0| 20 77 69 74 68 20 74 68 | 65 20 51 75 69 63 6b 44 | with th|e QuickD|
|00005400| 72 61 77 20 63 61 6c 6c | 20 44 72 61 77 54 65 78 |raw call| DrawTex|
|00005410| 74 2c 20 62 75 74 20 69 | 74 20 6f 6e 6c 79 20 61 |t, but i|t only a|
|00005420| 6c 6c 6f 77 73 20 79 6f | 75 20 74 6f 20 75 73 65 |llows yo|u to use|
|00005430| 20 74 68 65 20 76 65 63 | 74 6f 72 20 61 6e 69 6d | the vec|tor anim|
|00005440| 61 74 69 6f 6e 20 6b 69 | 74 20 31 34 2d 73 65 67 |ation ki|t 14-seg|
|00005450| 6d 65 6e 74 20 66 6f 6e | 74 2e 20 28 55 70 70 65 |ment fon|t. (Uppe|
|00005460| 72 20 63 61 73 65 2c 20 | 6e 75 6d 62 65 72 73 20 |r case, |numbers |
|00005470| 61 6e 64 20 61 20 66 65 | 77 20 73 70 65 63 69 61 |and a fe|w specia|
|00005480| 6c 20 73 69 67 6e 73 20 | 61 72 65 20 61 76 61 69 |l signs |are avai|
|00005490| 6c 61 62 6c 65 2e 29 20 | 54 68 65 20 70 6f 73 69 |lable.) |The posi|
|000054a0| 74 69 6f 6e 20 63 61 6e | 20 62 65 20 63 6f 6e 74 |tion can| be cont|
|000054b0| 72 6f 6c 6c 65 64 20 77 | 69 74 68 20 56 41 4d 6f |rolled w|ith VAMo|
|000054c0| 76 65 54 6f 20 61 6e 64 | 20 74 65 78 74 20 68 65 |veTo and| text he|
|000054d0| 69 67 68 74 20 69 73 20 | 56 41 2e 73 65 67 6d 73 |ight is |VA.segms|
|000054e0| 63 61 6c 65 20 2a 20 34 | 20 2b 20 34 20 61 6e 64 |cale * 4| + 4 and|
|000054f0| 20 77 69 64 74 68 20 69 | 73 20 56 41 2e 73 65 67 | width i|s VA.seg|
|00005500| 6d 73 63 61 6c 65 20 2a | 20 33 20 2b 20 33 2e 0d |mscale *| 3 + 3..|
|00005510| 00 0c 00 00 0c 00 00 10 | 01 37 0c 01 00 10 00 01 |........|.7......|
|00005520| 0d 00 00 06 00 00 0c 01 | 00 10 00 33 76 6f 69 64 |........|...3void|
|00005530| 20 56 41 53 74 61 74 69 | 63 4c 69 6e 65 28 69 6e | VAStati|cLine(in|
|00005540| 74 20 78 31 2c 20 69 6e | 74 20 79 31 2c 20 69 6e |t x1, in|t y1, in|
|00005550| 74 20 78 32 2c 20 69 6e | 74 20 79 32 29 3b 0d 00 |t x2, in|t y2);..|
|00005560| 00 06 00 00 0c 01 00 10 | 00 23 76 6f 69 64 20 56 |........|.#void V|
|00005570| 41 53 74 61 74 69 63 4c | 69 6e 65 54 6f 28 69 6e |AStaticL|ineTo(in|
|00005580| 74 20 78 2c 20 69 6e 74 | 20 79 29 3b 0d 00 00 06 |t x, int| y);....|
|00005590| 00 00 0c 01 00 10 00 01 | 0d 00 00 06 00 00 0c 00 |........|........|
|000055a0| 00 10 00 be 43 61 6c 6c | 20 56 41 53 74 61 74 69 |....Call| VAStati|
|000055b0| 63 4c 69 6e 65 20 74 6f | 20 6d 61 6b 65 20 6d 6f |cLine to| make mo|
|000055c0| 72 65 20 70 65 72 6d 61 | 6e 65 6e 74 20 63 68 61 |re perma|nent cha|
|000055d0| 6e 67 65 73 20 74 6f 20 | 74 68 65 20 64 69 73 70 |nges to |the disp|
|000055e0| 6c 61 79 2e 20 4e 6f 20 | 63 6c 69 70 70 69 6e 67 |lay. No |clipping|
|000055f0| 20 69 73 20 64 6f 6e 65 | 20 61 6e 64 20 64 72 61 | is done| and dra|
|00005600| 77 69 6e 67 20 69 73 20 | 70 65 72 66 6f 72 6d 65 |wing is |performe|
|00005610| 64 20 69 6d 6d 65 64 69 | 61 74 65 6c 79 2e 20 20 |d immedi|ately. |
|00005620| 56 41 53 74 61 74 69 63 | 4c 69 6e 65 54 6f 20 63 |VAStatic|LineTo c|
|00005630| 61 6e 20 62 65 20 75 73 | 65 64 20 61 6c 6f 6e 67 |an be us|ed along|
|00005640| 20 77 69 74 68 20 56 41 | 4d 6f 76 65 54 6f 20 74 | with VA|MoveTo t|
|00005650| 6f 20 64 72 61 77 20 70 | 6f 6c 79 6c 69 6e 65 73 |o draw p|olylines|
|00005660| 2e 0d 00 0c 00 00 0c 00 | 00 10 00 bd 0c 01 00 10 |........|........|
|00005670| 00 01 0d 00 00 06 00 00 | 0c 01 00 10 00 01 0d 00 |........|........|
|00005680| 00 06 00 00 0c 01 00 10 | 00 17 4d 69 73 63 65 6c |........|..Miscel|
|00005690| 6c 61 6e 65 6f 75 73 20 | 52 6f 75 74 69 6e 65 73 |laneous |Routines|
|000056a0| 0d 00 00 06 00 00 0e 01 | 00 10 00 01 0d 00 00 06 |........|........|
|000056b0| 00 00 0c 01 00 10 00 19 | 69 6e 74 20 56 41 43 6c |........|int VACl|
|000056c0| 69 70 28 52 65 63 74 20 | 2a 70 74 72 65 63 29 3b |ip(Rect |*ptrec);|
|000056d0| 0d 00 00 06 00 00 0c 01 | 00 10 00 01 0d 00 00 06 |........|........|
|000056e0| 00 00 0c 00 00 10 01 68 | 56 41 43 6c 69 70 20 63 |.......h|VAClip c|
|000056f0| 61 6e 20 62 65 20 75 73 | 65 64 20 74 6f 20 63 6c |an be us|ed to cl|
|00005700| 69 70 20 6c 69 6e 65 73 | 2e 20 50 75 74 20 74 68 |ip lines|. Put th|
|00005710| 65 20 63 6f 6f 72 64 69 | 6e 61 74 65 73 20 6f 66 |e coordi|nates of|
|00005720| 20 74 68 65 20 6c 69 6e | 65 20 74 6f 20 62 65 20 | the lin|e to be |
|00005730| 63 6c 69 70 70 65 64 20 | 69 6e 74 6f 20 28 70 74 |clipped |into (pt|
|00005740| 72 65 63 74 2e 6c 65 66 | 74 2c 70 74 72 65 63 74 |rect.lef|t,ptrect|
|00005750| 2e 74 6f 70 29 20 61 6e | 64 20 28 70 74 72 65 63 |.top) an|d (ptrec|
|00005760| 74 2e 72 69 67 68 74 2c | 70 74 72 65 63 74 2e 62 |t.right,|ptrect.b|
|00005770| 6f 74 74 6f 6d 29 20 61 | 6e 64 20 63 61 6c 6c 20 |ottom) a|nd call |
|00005780| 56 41 43 6c 69 70 2e 20 | 2d 31 20 69 73 20 72 65 |VAClip. |-1 is re|
|00005790| 74 75 72 6e 65 64 20 69 | 66 20 74 68 65 20 6c 69 |turned i|f the li|
|000057a0| 6e 65 20 69 73 20 76 69 | 73 69 62 6c 65 2c 20 30 |ne is vi|sible, 0|
|000057b0| 20 69 66 20 69 74 20 69 | 73 20 6f 75 74 73 69 64 | if it i|s outsid|
|000057c0| 65 20 74 68 65 20 66 72 | 61 6d 65 2e 20 54 68 65 |e the fr|ame. The|
|000057d0| 20 63 6c 69 70 70 65 64 | 20 6c 69 6e 65 20 69 73 | clipped| line is|
|000057e0| 20 72 65 74 75 72 6e 65 | 64 20 69 6e 20 74 68 65 | returne|d in the|
|000057f0| 20 73 61 6d 65 20 72 65 | 63 74 61 6e 67 6c 65 20 | same re|ctangle |
|00005800| 73 74 72 75 63 74 75 72 | 65 2c 20 62 75 74 20 74 |structur|e, but t|
|00005810| 68 65 72 65 20 61 72 65 | 20 6e 6f 20 67 75 61 72 |here are| no guar|
|00005820| 61 6e 74 65 65 73 20 74 | 68 61 74 20 74 68 65 20 |antees t|hat the |
|00005830| 65 6e 64 70 6f 69 6e 74 | 73 20 68 61 76 65 6e d5 |endpoint|s haven.|
|00005840| 74 20 62 65 65 6e 20 73 | 77 61 70 70 65 64 2e 0d |t been s|wapped..|
|00005850| 00 06 00 00 0c 00 00 10 | 00 01 0d 00 00 06 00 00 |........|........|
|00005860| 0c 00 00 10 00 01 0d 00 | 00 06 00 00 0c 00 00 10 |........|........|
|00005870| 00 22 00 00 00 27 01 b0 | 00 6d 00 22 00 00 00 27 |."...'..|.m."...'|
|00005880| 01 b0 11 01 a1 00 64 00 | 0a 46 57 52 54 00 0b 00 |......d.|.FWRT...|
|00005890| 48 01 b0 a1 00 64 00 38 | 46 57 52 54 00 01 02 78 |H....d.8|FWRT...x|
|000058a0| 00 00 00 01 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|000058b0| ff ff ff ff 00 02 00 08 | 00 00 00 00 00 00 00 00 |........|........|
|000058c0| 00 00 00 00 00 00 00 00 | 00 24 00 00 00 24 01 b0 |........|.$...$..|
|000058d0| 01 00 0a 00 22 00 00 00 | 27 01 b0 20 00 24 00 00 |...."...|'.. .$..|
|000058e0| 00 24 01 b0 ff 00 00 10 | 46 75 72 74 68 65 72 20 |.$......|Further |
|000058f0| 52 65 61 64 69 6e 67 0d | 00 06 00 00 0e 01 00 10 |Reading.|........|
|00005900| 00 22 00 00 00 27 01 b0 | 00 6d 00 22 00 00 00 27 |."...'..|.m."...'|
|00005910| 01 b0 11 01 a1 00 64 00 | 0a 46 57 52 54 00 0b 00 |......d.|.FWRT...|
|00005920| 48 01 b0 a1 00 64 00 38 | 46 57 52 54 00 01 02 78 |H....d.8|FWRT...x|
|00005930| 00 00 00 01 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|00005940| ff ff ff ff 00 02 00 08 | 00 00 00 00 00 00 00 00 |........|........|
|00005950| 00 00 00 00 00 00 00 00 | 00 24 00 00 00 24 01 b0 |........|.$...$..|
|00005960| 01 00 0a 00 22 00 00 00 | 27 01 b0 20 00 24 00 00 |...."...|'.. .$..|
|00005970| 00 24 01 b0 ff 00 00 01 | 0d 00 00 06 00 00 0c 00 |.$......|........|
|00005980| 00 10 00 a8 54 6f 20 66 | 75 6c 6c 79 20 75 6e 64 |....To f|ully und|
|00005990| 65 72 73 74 61 6e 64 20 | 74 68 65 20 76 65 63 74 |erstand |the vect|
|000059a0| 6f 72 20 61 6e 69 6d 61 | 74 69 6f 6e 20 74 6f 6f |or anima|tion too|
|000059b0| 6c 6b 69 74 2c 20 79 6f | 75 20 73 68 6f 75 6c 64 |lkit, yo|u should|
|000059c0| 20 62 65 20 66 61 6d 69 | 6c 69 61 72 20 77 69 74 | be fami|liar wit|
|000059d0| 68 20 64 69 73 70 6c 61 | 79 20 6c 69 73 74 73 2c |h displa|y lists,|
|000059e0| 20 64 6f 75 62 6c 65 20 | 62 75 66 66 65 72 69 6e | double |bufferin|
|000059f0| 67 20 61 6e 64 20 71 75 | 69 63 6b 64 72 61 77 20 |g and qu|ickdraw |
|00005a00| 67 72 61 70 68 69 63 73 | 2e 20 4d 6f 72 65 20 69 |graphics|. More i|
|00005a10| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 63 61 6e 20 62 |nformati|on can b|
|00005a20| 65 20 66 6f 75 6e 64 20 | 69 6e 3a 0d 00 06 00 00 |e found |in:.....|
|00005a30| 0c 00 00 10 00 4b 09 d2 | 50 72 69 6e 63 69 70 6c |.....K..|Principl|
|00005a40| 65 73 20 6f 66 20 49 6e | 74 65 72 61 63 74 69 76 |es of In|teractiv|
|00005a50| 65 20 43 6f 6d 70 75 74 | 65 72 20 47 72 61 70 68 |e Comput|er Graph|
|00005a60| 69 63 73 d3 2c 20 4e 65 | 77 6d 61 6e 2b 53 70 72 |ics., Ne|wman+Spr|
|00005a70| 6f 75 6c 6c 2c 20 4d 63 | 47 72 61 77 48 69 6c 6c |oull, Mc|GrawHill|
|00005a80| 0d 00 00 06 00 00 0a 00 | 00 10 00 2e 09 d2 47 72 |........|......Gr|
|00005a90| 61 70 68 69 63 73 20 47 | 65 6d 73 d3 2c 20 41 2e |aphics G|ems., A.|
|00005aa0| 20 47 6c 61 73 73 6e 65 | 72 2c 20 41 63 61 64 65 | Glassne|r, Acade|
|00005ab0| 6d 69 63 20 50 72 65 73 | 73 0d 00 06 00 00 0a 00 |mic Pres|s.......|
|00005ac0| 00 10 00 3b 09 d2 49 6e | 73 69 64 65 20 4d 61 63 |...;..In|side Mac|
|00005ad0| 69 6e 74 6f 73 68 20 49 | d3 2c 20 41 70 70 6c 65 |intosh I|., Apple|
|00005ae0| 20 43 6f 6d 70 75 74 65 | 72 20 49 6e 63 2e 2c 20 | Compute|r Inc., |
|00005af0| 41 64 64 69 73 6f 6e 20 | 57 65 73 6c 65 79 0d 00 |Addison |Wesley..|
|00005b00| 00 06 00 00 0a 00 00 10 | 00 3b 09 d2 49 6e 73 69 |........|.;..Insi|
|00005b10| 64 65 20 4d 61 63 69 6e | 74 6f 73 68 20 56 d3 2c |de Macin|tosh V.,|
|00005b20| 20 41 70 70 6c 65 20 43 | 6f 6d 70 75 74 65 72 20 | Apple C|omputer |
|00005b30| 49 6e 63 2e 2c 20 41 64 | 64 69 73 6f 6e 20 57 65 |Inc., Ad|dison We|
|00005b40| 73 6c 65 79 0d 00 00 06 | 00 00 0a 00 00 10 00 01 |sley....|........|
|00005b50| 0d 00 00 06 00 00 0c 00 | 00 10 00 00 00 00 00 0d |........|........|
|00005b60| 00 0d 00 88 00 00 00 00 | 00 0d 00 0d 11 01 a1 00 |........|........|
|00005b70| 64 00 0a 46 57 52 54 00 | 0b 00 d8 00 d8 a1 00 64 |d..FWRT.|.......d|
|00005b80| 00 38 46 57 52 54 00 01 | 03 d8 00 11 00 01 00 00 |.8FWRT..|........|
|00005b90| 00 00 00 00 00 00 ff ff | ff ff ff ff ff ff 00 01 |........|........|
|00005ba0| 00 08 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bb0| 00 00 00 00 00 00 00 0b | 00 0b 01 00 0a 00 00 00 |........|........|
|00005bc0| 00 00 0d 00 0d 09 00 00 | 00 00 00 00 00 00 31 00 |........|......1.|
|00005bd0| 01 00 01 00 0a 00 0a 09 | ff ff ff ff ff ff ff ff |........|........|
|00005be0| 30 00 00 00 00 00 0b 00 | 0b ff 00 00 00 00 02 aa |0.......|........|
|00005bf0| 03 e8 00 0d 4d 41 47 49 | 43 50 49 43 11 01 ff 00 |....MAGI|CPIC....|
|00005c00| 00 0a 01 e0 00 00 00 00 | 00 0a 00 52 00 9a 00 e2 |........|...R....|
|00005c10| 01 2a 01 72 01 b9 4c 7a | 00 26 da a6 00 00 20 04 |.*.r..Lz|.&.... .|
|00005c20| 00 05 00 01 0d 00 00 06 | 00 00 0c 00 00 10 00 01 |........|........|
|00005c30| 0d 00 00 06 00 00 0c 00 | 00 10 00 2e 20 20 20 20 |........|.... |
|00005c40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 20 20 20 46 6f |--------|-- Fo|
|00005c50| 6f 74 6e 6f 74 65 73 20 | 20 20 20 2d 2d 2d 2d 2d |otnotes | -----|
|00005c60| 2d 2d 2d 2d 2d 20 20 20 | 20 0d 00 06 00 00 0c 00 |----- | .......|
|00005c70| 00 10 00 01 0d 00 00 06 | 00 00 0c 00 00 10 00 b6 |........|........|
|00005c80| 09 31 2e 09 54 68 65 20 | 63 75 72 72 65 6e 74 20 |.1..The |current |
|00005c90| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 20 69 |implemen|tation i|
|00005ca0| 73 20 68 69 67 68 6c 79 | 20 38 2d 62 69 74 20 64 |s highly| 8-bit d|
|00005cb0| 65 70 65 6e 64 65 6e 74 | 2c 20 62 75 74 20 74 68 |ependent|, but th|
|00005cc0| 69 73 20 64 6f 65 73 6e | d5 74 20 6d 61 6b 65 20 |is doesn|.t make |
|00005cd0| 69 74 20 68 61 72 64 20 | 74 6f 20 69 6d 70 6c 65 |it hard |to imple|
|00005ce0| 6d 65 6e 74 20 6f 6e 20 | 32 34 20 6f 72 20 33 32 |ment on |24 or 32|
|00005cf0| 20 62 69 74 20 63 6f 6c | 6f 72 20 73 79 73 74 65 | bit col|or syste|
|00005d00| 6d 73 2c 20 73 69 6e 63 | 65 20 74 68 65 73 65 20 |ms, sinc|e these |
|00005d10| 67 72 6f 75 70 20 70 69 | 78 65 6c 20 69 6e 20 31 |group pi|xel in 1|
|00005d20| 2d 62 79 74 65 20 28 38 | 20 62 69 74 29 20 67 72 |-byte (8| bit) gr|
|00005d30| 6f 75 70 73 2e 0d 00 06 | 00 00 0a 00 00 10 00 81 |oups....|........|
|00005d40| 09 32 2e 09 59 6f 75 20 | 63 61 6e 20 75 73 65 20 |.2..You |can use |
|00005d50| d2 70 61 74 58 6f 72 d3 | 20 6d 6f 64 65 20 74 6f |.patXor.| mode to|
|00005d60| 20 69 6e 76 65 72 74 20 | 73 65 6c 65 63 74 65 64 | invert |selected|
|00005d70| 20 62 69 74 73 2c 20 62 | 75 74 20 74 68 69 73 20 | bits, b|ut this |
|00005d80| 69 73 20 74 68 65 20 6f | 6e 6c 79 20 74 72 61 6e |is the o|nly tran|
|00005d90| 73 66 65 72 20 6d 6f 64 | 65 20 74 68 61 74 20 6c |sfer mod|e that l|
|00005da0| 65 61 76 65 73 20 73 6f | 6d 65 20 62 69 74 70 6c |eaves so|me bitpl|
|00005db0| 61 6e 65 73 20 75 6e 61 | 66 66 65 63 74 65 64 2e |anes una|ffected.|
|00005dc0| 0d 00 00 06 00 00 0a 00 | 00 10 00 58 09 33 2e 09 |........|...X.3..|
|00005dd0| 4e 6f 72 6d 61 6c 6c 79 | 20 56 41 49 6e 69 74 20 |Normally| VAInit |
|00005de0| 63 61 6c 6c 73 20 53 65 | 74 50 6f 72 74 28 56 41 |calls Se|tPort(VA|
|00005df0| 2e 77 69 6e 64 6f 77 29 | 2c 20 73 6f 20 79 6f 75 |.window)|, so you|
|00005e00| 20 61 72 65 20 61 6c 6c | 20 73 65 74 20 66 6f 72 | are all| set for|
|00005e10| 20 51 75 69 63 6b 44 72 | 61 77 20 64 72 61 77 69 | QuickDr|aw drawi|
|00005e20| 6e 67 2e 0d 00 06 00 00 | 0a 00 00 10 00 77 09 34 |ng......|.....w.4|
|00005e30| 2e 09 59 6f 75 20 63 61 | 6e 20 61 6c 73 6f 20 75 |..You ca|n also u|
|00005e40| 73 65 20 74 68 65 20 62 | 75 69 6c 74 2d 69 6e 20 |se the b|uilt-in |
|00005e50| 63 6f 6e 73 74 61 6e 74 | 73 20 42 47 31 20 61 6e |constant|s BG1 an|
|00005e60| 64 20 42 47 32 20 61 73 | 20 50 6d 46 6f 72 65 43 |d BG2 as| PmForeC|
|00005e70| 6f 6c 6f 72 20 76 61 6c | 75 65 73 2e 20 42 47 43 |olor val|ues. BGC|
|00005e80| 20 69 73 20 32 35 35 20 | 61 6e 64 20 69 74 20 65 | is 255 |and it e|
|00005e90| 72 61 73 65 73 20 61 6c | 6c 20 62 69 74 70 6c 61 |rases al|l bitpla|
|00005ea0| 6e 65 73 2e 0d 00 00 06 | 00 00 0a 00 00 10 00 00 |nes.....|........|
|00005eb0| 00 00 02 aa 03 e8 00 0d | 4d 41 47 49 43 50 49 43 |........|MAGICPIC|
|00005ec0| 11 01 ff 00 00 0a 01 e0 | 00 00 00 00 00 0a 00 52 |........|.......R|
|00005ed0| 00 9a 00 e2 01 2a 01 72 | 01 b9 4c 7a 00 26 da a6 |.....*.r|..Lz.&..|
|00005ee0| 00 00 20 04 00 05 00 01 | 0d 00 00 06 00 00 0c 00 |.. .....|........|
|00005ef0| 00 10 00 01 0d 00 00 06 | 00 00 0c 00 00 10 00 2d |........|.......-|
|00005f00| 20 20 20 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 20 20 | ----|------ |
|00005f10| 20 20 53 69 64 65 62 61 | 72 73 20 20 20 20 2d 2d | Sideba|rs --|
|00005f20| 2d 2d 2d 2d 2d 2d 2d 2d | 20 20 20 20 0d 00 00 06 |--------| ....|
|00005f30| 00 00 0c 00 00 10 00 01 | 0d 00 00 06 00 00 0c 00 |........|........|
|00005f40| 00 10 00 14 01 a3 00 02 | 00 00 00 14 00 da 01 91 |........|........|
|00005f50| 00 00 b7 8a 00 26 d6 4a | 00 16 64 a4 00 11 7d 90 |.....&.J|..d...}.|
|00005f60| 00 15 00 c6 00 4c 43 72 | 65 61 74 65 64 3a 20 53 |.....LCr|eated: S|
|00005f70| 61 74 75 72 64 61 79 2c | 20 53 65 70 74 65 6d 62 |aturday,| Septemb|
|00005f80| 65 72 20 32 39 2c 20 31 | 39 39 30 09 09 4c 61 73 |er 29, 1|990..Las|
|00005f90| 74 20 63 68 61 6e 67 65 | 3a 20 54 75 65 73 64 61 |t change|: Tuesda|
|00005fa0| 79 2c 20 4d 61 72 63 68 | 20 31 32 2c 20 31 39 39 |y, March| 12, 199|
|00005fb0| 31 0d 00 06 00 00 0a 00 | 00 10 00 01 0d 00 00 06 |1.......|........|
|00005fc0| 00 00 0a 00 00 10 00 23 | 50 72 6f 6a 65 63 74 20 |.......#|Project |
|00005fd0| 53 54 4f 52 4d 09 09 41 | 75 74 68 6f 72 3a 20 4a |STORM..A|uthor: J|
|00005fe0| 75 72 69 20 4d 75 6e 6b | 6b 69 0d 00 00 06 00 00 |uri Munk|ki......|
|00005ff0| 0c 00 00 10 00 1a 09 56 | 65 63 74 6f 72 20 41 6e |.......V|ector An|
|00006000| 69 6d 61 74 69 6f 6e 20 | 54 6f 6f 6c 6b 69 74 0d |imation |Toolkit.|
|00006010| 00 12 00 00 0c 00 00 10 | 00 01 0c 01 00 10 00 19 |........|........|
|00006020| 0c 01 00 10 00 25 09 43 | 6f 70 79 72 69 67 68 74 |.....%.C|opyright|
|00006030| 20 a9 31 39 39 30 2c 20 | 50 72 6f 6a 65 63 74 20 | .1990, |Project |
|00006040| 53 54 4f 52 4d 20 74 65 | 61 6d 0d 00 00 18 00 00 |STORM te|am......|
|00006050| 0c 01 00 10 00 01 0a 00 | 00 10 00 09 0a 00 00 10 |........|........|
|00006060| 00 24 0c 00 00 10 00 01 | 0d 00 00 06 00 00 0a 02 |.$......|........|
|00006070| 00 10 00 a6 54 68 69 73 | 20 64 6f 63 75 6d 65 6e |....This| documen|
|00006080| 74 20 64 65 73 63 72 69 | 62 65 73 20 74 68 65 20 |t descri|bes the |
|00006090| 70 72 6f 67 72 61 6d 6d | 69 6e 67 20 69 6e 74 65 |programm|ing inte|
|000060a0| 72 66 61 63 65 20 74 6f | 20 61 20 72 65 61 6c 2d |rface to| a real-|
|000060b0| 74 69 6d 65 20 61 6e 69 | 6d 61 74 69 6f 6e 20 74 |time ani|mation t|
|000060c0| 6f 6f 6c 6b 69 74 20 74 | 68 61 74 20 61 6c 6c 6f |oolkit t|hat allo|
|000060d0| 77 73 20 76 65 63 74 6f | 72 73 20 61 6e 64 20 76 |ws vecto|rs and v|
|000060e0| 61 72 69 6f 75 73 20 6b | 69 6e 64 20 6f 66 20 70 |arious k|ind of p|
|000060f0| 6f 69 6e 74 73 20 61 73 | 20 74 68 65 20 62 61 73 |oints as| the bas|
|00006100| 69 63 20 65 6c 65 6d 65 | 6e 74 73 20 6f 66 20 61 |ic eleme|nts of a|
|00006110| 6e 69 6d 61 74 69 6f 6e | 2e 0d 00 06 00 00 0a 02 |nimation|........|
|00006120| 00 10 00 00 00 00 02 aa | 03 e8 00 0d 4d 41 47 49 |........|....MAGI|
|00006130| 43 50 49 43 11 01 ff 00 | 00 00 00 00 00 00 00 00 |CPIC....|........|
|00006140| 20 00 02 10 00 22 00 00 | 00 10 00 00 00 00 00 00 | ...."..|........|
|00006150| 63 00 02 32 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c..2....|........|
|00006160| 63 00 02 3e 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c..>....|........|
|00006170| 63 00 02 4a 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c..J....|........|
|00006180| 63 00 02 56 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c..V....|........|
|00006190| 63 00 02 62 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c..b....|........|
|000061a0| 63 00 02 6e 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c..n....|........|
|000061b0| 63 00 02 7a 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c..z....|........|
|000061c0| 63 00 02 86 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|000061d0| 63 00 02 92 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|000061e0| 63 00 02 9e 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|000061f0| 63 00 02 aa 00 0c 00 00 | ff ff 00 00 00 00 00 00 |c.......|........|
|00006200| 20 00 02 b6 00 75 00 00 | 00 10 00 00 00 00 00 00 | ....u..|........|
|00006210| 61 00 03 2c 00 18 00 00 | ff ff 00 00 00 00 00 00 |a..,....|........|
|00006220| 20 00 03 44 00 75 00 00 | 00 10 00 00 00 00 00 00 | ..D.u..|........|
|00006230| 63 00 03 ba 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|00006240| 63 00 03 c6 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|00006250| 63 00 03 d2 01 b2 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|00006260| 63 00 05 84 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|00006270| 63 00 05 90 01 62 00 00 | 00 10 00 00 00 00 00 00 |c....b..|........|
|00006280| 63 00 06 f2 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|00006290| 63 00 06 fe 00 9e 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|000062a0| 63 00 07 9c 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|000062b0| 63 00 07 a8 00 1a 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|000062c0| 63 00 07 c2 00 16 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|000062d0| 63 00 07 d8 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|000062e0| 63 00 07 e4 00 16 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|000062f0| 63 00 07 fa 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|00006300| 63 00 08 06 00 16 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|00006310| 63 00 08 1c 00 1e 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|00006320| 63 00 08 3a 00 1e 00 00 | 00 10 00 00 00 00 00 00 |c..:....|........|
|00006330| 63 00 08 58 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c..X....|........|
|00006340| 63 00 08 64 00 16 00 00 | 00 10 00 00 00 00 00 00 |c..d....|........|
|00006350| 63 00 08 7a 00 24 00 00 | 00 10 00 00 00 00 00 00 |c..z.$..|........|
|00006360| 63 00 08 9e 00 22 00 00 | 00 10 00 00 00 00 00 00 |c...."..|........|
|00006370| 63 00 08 c0 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|00006380| 63 00 08 cc 00 30 00 00 | 00 10 00 00 00 00 00 00 |c....0..|........|
|00006390| 63 00 08 fc 00 0c 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|000063a0| 63 00 09 08 00 1c 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|000063b0| 63 00 09 24 00 50 00 00 | 00 10 00 00 00 00 00 00 |c..$.P..|........|
|000063c0| 63 00 09 74 00 50 00 00 | 00 10 00 00 00 00 00 00 |c..t.P..|........|
|000063d0| 63 00 09 c4 00 1a 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|000063e0| 63 00 09 de 00 1a 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
|000063f0| 63 00 09 f8 00 0e 00 00 | 00 10 00 00 00 00 00 00 |c.......|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.